API Reference
Update campaign statuses
/open_api/v1.3/campaign/status/update/https://tiktok-ads.mimicr.dev · provider: https://business-api.tiktok.comUse this endpoint to enable, disable or delete up to 20 campaigns. DELETE is final and cascades: the ad groups read ADGROUP_STATUS_CAMPAIGN_DELETE and the ads AD_STATUS_CAMPAIGN_DELETE. Any deleted id fails the whole call.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Headers
Authorized access token, sent in this header (not Authorization: Bearer). Marketing API tokens never expire.
Body
application/jsonAdvertiser ID.
A list of campaign IDs, with an allowed quantity range 1-20.
The operation being made. Enum values: DELETE (delete), DISABLE (pause), ENABLE (enable).
DELETEDISABLEENABLEResponses
200Response envelope {code, message, request_id, data}. code 0 (message "OK") is success. Validation and business errors also come with HTTP 200 and a non-zero code: check code, not the HTTP status.
Return code. 0 means success; see the return codes appendix for the others.
Return message: OK on success, otherwise the error description.
Returned data.
Show child attributes
A list of modified campaign ids.
The operation that was executed, optional values include: DELETE,DISABLE,ENABLE
Information about the list of specified campaigns.
Show child attributes
Campaign ID.
The current status of the campaign (campaign_id).
DELETEDISABLEENABLEThe log ID of the request, which uniquely identifies it (also sent in the X-Tt-Logid header).
501The route or feature is documented by TikTok but outside Mimicr's integration core: code 40014 with HTTP 501.
Return code. 0 means success; see the return codes appendix for the others.
Return message: OK on success, otherwise the error description.
The log ID of the request, which uniquely identifies it (also sent in the X-Tt-Logid header).