API Reference
Ads

Create ads

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

Use this endpoint to create 1 to 20 ads in an ad group. Each ad enters review (AD_STATUS_AUDIT). Creation is all-or-nothing: one bad creative fails the call, and the message names it (creatives.0.identity_id).

Mimicr simulates SINGLE_VIDEO and SINGLE_IMAGE ads with a CUSTOMIZED_USER identity. As documented, identity_id is required and a SINGLE_VIDEO ad needs one cover image in image_ids (the homologation toggle lenientRequiredFields relaxes both). Ad accounts created on or after 2026-01-15 cannot use custom identities on TikTok placements: 40002 Custom identity is no longer supported for this ad account. Please use Spark Ads. Spark Ads identities and carousel, live and catalog formats answer 40014 (HTTP 501).

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.

adgroup_idstringrequired

Ad group ID.

creativesobject[]required

Advertising creatives.

Show child attributes
ad_namestringrequired

Ad name.

identity_typestringrequired

Identity type.

CUSTOMIZED_USERAUTH_CODETT_USERBC_AUTH_TT
identity_idstringrequired

Identity ID.

ad_formatstringrequired

The ad format. Enum values: SINGLE_IMAGE, SINGLE_VIDEO, LIVE_CONTENT, CAROUSEL_ADS, CATALOG_CAROUSEL.

SINGLE_IMAGESINGLE_VIDEOLIVE_CONTENTCAROUSEL_ADSCATALOG_CAROUSEL
video_idstring
image_idsstring[]

A list of image IDs (images used in an ad or as a video cover).

ad_textstring
call_to_actionstring

Call-to-action text.

call_to_action_idstring

The ID of the CTA portfolio that you want to use in your ads. A CTA portfolio is a group of auto-optimized CTAs.

landing_page_urlstring

The landing page that users will be redirected to.

utm_paramsobject[]
page_idnumber

Page ID.

deeplinkstring

The specific location where you want your audience to go if they have your app installed. See deeplink_type for more.

tracking_pixel_idnumber

The pixel ID that you'd like to track. You can use this field to track offsite events. It supports the campaign objectives for both Auction ads (REACH, VIDEO_VIEWS, TRAFFIC, WEB_CONVERSIONS, LEAD_GENERATION, APP_PROMOTION, PRODUCT_SALES, ENGAGEMENT) and Reach & Frequency ads (RF_REACH).

impression_tracking_urlstring

Default Impression Tracking URL. URL generated by your data partner to track impression events in your ads. Generally you can find and copy the URL from their platform.

click_tracking_urlstring

Click Tracking URL. URL generated by your data partner to track click events in your ads. Generally you can find and copy the URL from their platform.

operation_statusstring
ENABLEDISABLE
display_namestring

The display name of landing page or pure exposure ad, length limit: 1-40 English characters, or 1-20 Chinese/Japanese/Korean characters, required when the promotion type is landing page or pure exposure.

avatar_icon_web_uristring

ID of the avatar image. It can be uploaded through the Upload an image endpoint (picture ratio requirement is 1: 1)

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
ad_idsstring[]

Ad IDs.

creativesobject[]

A List of Ads. The returned fields are generated based on the fields specified in the request parameters. If not specified, all fields are returned by default.

Show child attributes
advertiser_idstring

Advertiser ID.

campaign_idstring

Campaign ID.

campaign_namestring

Campaign name.

adgroup_idstring

Ad group ID.

adgroup_namestring

Ad group name.

ad_idstring

Ad ID.

ad_namestring

Ad name.

create_timestring

Time at which the ad was created.

modify_timestring

Time at which the ad was Modified.

identity_idstring

Identity ID.

identity_typestring

Identity type. Enum values: CUSTOMIZED_USER, AUTH_CODE, TT_USER, BC_AUTH_TT.

CUSTOMIZED_USERAUTH_CODETT_USERBC_AUTH_TT
identity_authorized_bc_idstring

ID of the Business Center that a TikTok Account User in Business Center identity is associated with. Returned when identity_type is BC_AUTH_TT.

ad_formatstring

The ad format. Enum values: SINGLE_IMAGE, SINGLE_VIDEO, LIVE_CONTENT, CAROUSEL_ADS (non-VSA Carousel Ads), CATALOG_CAROUSEL(VSA Carousel Ads).

SINGLE_IMAGESINGLE_VIDEOLIVE_CONTENTCAROUSEL_ADSCATALOG_CAROUSEL
video_idstring

The video ID.

image_idsstring[]

A list of image IDs.

music_idstring

The ID of the piece of music that is used in the TikTok Carousel Ad.

tiktok_item_idstring

The ID of the TikTok post that is used as Spark Ad.

ad_textstring

The ad text. It is shown to your audience as part of your ad creative, to deliver the message you intend to communicate to them.

ad_textsstring

A list of ad texts.

call_to_actionstring

For call-to-action text, see Enumeration - Call-to-action.

call_to_action_idstring

The ID of the CTA portfolio that you want to use in your ads.

landing_page_urlstring

Landing page URL.

page_idnumber

Page ID.

operation_statusstring

Operation status.

ENABLEDISABLEFROZEN
secondary_statusstring

Ad secondary status. See Enumeration - Secondary Status.

creative_typestring

Creative type for Live Shopping Ads, Product Shopping Ads, App Pre-Registration, Automotive Ads for Inventory, or Automotive Ads for Models scenarios.

SHOP_PDPSHOP_PLPSHORT_VIDEO_LIVEDIRECT_LIVEPSACUSTOM_INSTANT_PAGEAPP_PREREGISTRATIONTIKTOK_NATIVE_PAGEAUTO_INVENTORY_INSTANT_PAGELEAD_GENERATION
display_namestring

The display name of landing page or pure exposure ad.

creative_authorizedboolean

Whether you grant displaying some of your ads in our TikTok For Business Creative Center. Only valid for non-US advertisers, the default value is false.

is_acoboolean

Whether the ad is an automated ad. Set to true for automated ad and false for non-automated ad.

is_new_structureboolean

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

optimization_eventstring

Conversion event for the ad group. See Conversion events for more.

page_infoobject

Pagination information.

Show child attributes
pagenumber

Current page number. Default value: 1. Value range: ≥ 1.

page_sizenumber

Paging size.

total_numbernumber

Total number of results.

total_pagenumber

Total pages of results.

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