API Reference
Campaigns

Update a campaign

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

Use this endpoint to update a campaign: name, budget, special industries and PO number. budget_mode and objective_type cannot change. A new budget must be at least 105% of what was already spent (today for a daily budget, in total for a lifetime one). A deleted campaign returns 40002 This campaign has been deleted.

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.

campaign_idstringrequired

Campaign ID.

campaign_namestring

Campaign name.

special_industriesstring[]

Special ad categories.

HOUSINGEMPLOYMENTCREDIT
budgetnumber

Campaign budget.

po_numberstring

PO (purchase order) number. PO numbers are useful for invoice tracking and reconciliation.

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.

request_idstring

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

dataobject

Returned data.

Show child attributes
advertiser_idstring

Advertiser ID.

campaign_idstring

Campaign ID.

create_timestring

Time at which the campaign was created.

modify_timestring

Time at which the campaign was Modified.

objective_typestring

Advertising objective.

is_search_campaignboolean

Whether the campaign is a Search Ads Campaign. With Search Ads Campaigns, you can select keywords and serve ads within TikTok's search result page.

is_smart_performance_campaignboolean

Whether the campaign is an automated campaign type.

campaign_typestring

Campaign Type, which indicates the campaign is a regular campaign or iOS 14 campaign.

REGULAR_CAMPAIGNIOS14_CAMPAIGN
catalog_enabledboolean

Whether to use your catalog to automatically advertise relevant products or services to people based on their unique interests, intent and actions.

campaign_namestring

Campaign name.

special_industriesstring[]

Special ad categories.

HOUSINGEMPLOYMENTCREDIT
budget_optimize_onboolean

Returned only for campaigns with Campaign Budget Optimization (CBO) enabled. Whether CBO is enabled.

deep_bid_typestring

Bidding strategy for in-app events.

roas_bidnumber

ROAS goal for Value Optimization.

budget_modestring

Budget mode.

BUDGET_MODE_INFINITEBUDGET_MODE_TOTALBUDGET_MODE_DAYBUDGET_MODE_DYNAMIC_DAILY_BUDGET
budgetnumber

Campaign budget.

operation_statusstring

Operation status.

ENABLEDISABLE
secondary_statusstring

Campaign status (Secondary status).

is_new_structureboolean

Whether the campaign is a new structure (for the same campaign, the structure of campaign, ad groups and ads are the same).

objectivestring

Campaign type (application or landing page).

APPLANDING_PAGE
po_numberstring

PO (purchase order) number. PO numbers are useful for invoice tracking and reconciliation.

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