API Reference
Ad groups

Update ad group budgets

POST/open_api/v1.3/adgroup/budget/update/
Base URL: https://tiktok-ads.mimicr.dev · provider: https://business-api.tiktok.com

Use this endpoint to update the budgets of up to 20 ad groups: budget (applied now) or scheduled_budget (daily budgets; in Mimicr applied at the next midnight of the advertiser time zone).

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Headers

Access-Tokenstringrequired

Authorized access token, sent in this header (not Authorization: Bearer). Marketing API tokens never expire.

Body

application/json
advertiser_idstringrequired

Advertiser ID.

budgetobject[]

Either budget or scheduled_budget has to be set.

Show child attributes
adgroup_idstring

Required when the object array budget is passed. Ad group ID.

budgetnumber

Required when the object array budget is passed. The new lifetime budget for the ad group (adgroup_id).

scheduled_budgetobject[]

Either budget or scheduled_budget has to be set.

Show child attributes
adgroup_idstring

Required when the object array scheduled_budget is passed. Ad group ID.

scheduled_budgetnumber

Required when the object array scheduled_budget is passed. The new daily budget or dynamic daily budget for the ad group (adgroup_id).

Responses

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.
codenumber

Return code. 0 means success; see the return codes appendix for the others.

messagestring

Return message: OK on success, otherwise the error description.

dataobject

Returned data.

request_idstring

The 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.
codeinteger

Return code. 0 means success; see the return codes appendix for the others.

messagestring

Return message: OK on success, otherwise the error description.

request_idstring

The log ID of the request, which uniquely identifies it (also sent in the X-Tt-Logid header).