create_tiktok_ads_ad
Create a TikTok ad destructive
Description
Create the ad itself — the creative that runs under an existing TikTok ad group. CREATED PAUSED with no override (TikTok’s own default is ENABLED); it spends nothing until set_tiktok_ads_status(confirm:true), and TikTok additionally reviews it before it can ever show. WHERE THE CREATIVE COMES FROM: run upload_tiktok_ads_creative on a finished Hermoso render (or any public https video) and pass back the videoId AND the coverImageId it returns as imageIds — a TikTok video ad needs BOTH, and TikTok rejects any cover whose dimensions differ from the video, so the video’s own cover is the only one that reliably fits. A videoId with no imageIds is refused here, for free. AN IDENTITY IS MANDATORY AND HAS NO DEFAULT: identityId AND identityType both come from list_tiktok_ads_identities and the ad appears publicly as that TikTok account, so let the USER pick and never guess — the call is refused outright without either. SPARK ADS — RUN A REAL ORGANIC POST INSTEAD: pass tiktokItemId (from list_tiktok_ads_identity_posts or list_tiktok_ads_spark_posts) INSTEAD OF videoId, and the ad IS that TikTok post, keeping its own comments, likes and shares under the account that made it. Spark needs an identityType of TT_USER, BC_AUTH_TT or AUTH_CODE — never CUSTOMIZED_USER, which is a Custom Identity and cannot carry one. THIS MATTERS BEYOND STYLE: TikTok is phasing Custom Identity out — ad accounts created on or after January 15, 2026 cannot create non-Spark ads at all, and existing accounts can no longer create them either, for any ad group delivering to Automatic or Select Placement with TikTok included (only Pangle / Global App Bundle campaigns are unaffected). Defaults: adFormat SINGLE_VIDEO, callToAction LEARN_MORE. THE STATUS IS READ BACK FROM TIKTOK’S OWN STORED ROW, never assumed: if it comes back anything other than DISABLE the note is a Warning: warning that the ad would serve the moment its campaign is enabled — print that verbatim and act on it before touching anything above it.
Parameters
| Parameter | Type | Description |
|---|---|---|
advertiserId | string | TikTok ad account id from list_tiktok_ads_accounts; omit when only one account is shared with this profile |
adgroupIdrequired | string | the ad group whose targeting, budget and schedule this ad runs under |
namerequired | string | the ad name in TikTok Ads Manager — not the copy people see |
identityIdrequired | string | REQUIRED — from list_tiktok_ads_identities; the TikTok account the ad posts as |
identityTyperequired | string | REQUIRED — the matching type reported next to that id by list_tiktok_ads_identities. There is NO default and guessing is refused: the plausible-looking CUSTOMIZED_USER is wrong for a plain TikTok account, which is TT_USER. |
adFormat | string | default SINGLE_VIDEO |
videoId | string | the videoId returned by upload_tiktok_ads_creative (or a video already in the advertiser’s TikTok asset library) |
tiktokItemId | string | SPARK ADS — promote an EXISTING organic TikTok post instead of an uploaded video. From list_tiktok_ads_identity_posts (an account you control) or list_tiktok_ads_spark_posts (a creator post authorised by code). Mutually exclusive with videoId, and NOT supported with identityType CUSTOMIZED_USER; both are refused here for free. |
identityAuthorizedBcId | string | REQUIRED when identityType is BC_AUTH_TT — the Business Center id reported next to that identity by list_tiktok_ads_identities |
imageIds | string[] | for a video ad, the ONE cover image: pass [coverImageId] from the same upload_tiktok_ads_creative call. For the image formats, the images themselves. |
adText | string | the ad copy people read |
callToAction | string | TikTok’s CTA button value — default LEARN_MORE |
landingPageUrl | string | where the ad sends people — not needed on an Instant-Form lead ad. A Hermoso page works: publish_page’s live URL, or get_page adDestinations. |
utmParams | object | URL parameters (UTMs) TikTok appends to the landing URL, e.g. {"utm_source":"tiktok","utm_campaign":"__CAMPAIGN_NAME__"}; up to 14; values may be TikTok macros (__CAMPAIGN_NAME__, __AID__, __CID__, __PLACEMENT__ …). |
musicId | string | CAROUSEL ADS — the sound, from list_tiktok_ads_music. Required with adFormat CAROUSEL_ADS, which takes the slide images (1-35) as imageIds and no videoId; refused here for free otherwise. |
pageId | string | LEAD ADS — the Instant Form the ad opens, from list_tiktok_ads_lead_forms (a PUBLISHED one). Use it under a LEAD_GENERATION campaign whose ad group has promotionTargetType INSTANT_PAGE. Checked first, for free: a draft form, a form on another account, or an ad account that has not accepted TikTok’s Lead Ads terms is refused by name. The reply reads the form back off TikTok’s stored ad. |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_tiktok_ads_ad.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_tiktok_ads_ad","arguments":{"adgroupId":"<string>","name":"<string>","identityId":"<string>","identityType":"<string>"}}}
CLI
hermoso call create_tiktok_ads_ad --json '{"adgroupId":"<string>","name":"<string>","identityId":"<string>","identityType":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
set_tiktok_ads_statusActivate, pause or delete TikTok campaigns / ad groups / adsupload_tiktok_ads_creativeUpload a video or image into a TikTok advertiser’s asset librarylist_tiktok_ads_identitiesList the TikTok identities an ad can post aslist_tiktok_ads_identity_postsList the organic TikTok posts under an identitylist_tiktok_ads_spark_postsList TikTok posts authorised to this ad accountdelete_tiktok_ads_playableDelete a TikTok playablelist_tiktok_ads_playablesList TikTok playablesupload_tiktok_ads_playableUpload a playable ad to TikTokset_tiktok_ads_brand_safetySet a TikTok ad account’s Brand Safety Hub settingsget_tiktok_ads_brand_safetyRead a TikTok ad account’s Brand Safety Hub settings