hermosodocs

upload_tiktok_ads_creative

Upload a video or image into a TikTok advertiser’s asset library

Area: AD COMMENTS · BLOCKED WORDS · AD DIAGNOSIS · BRAND SAFETY · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Put a finished creative onto the TikTok AD ACCOUNT so an ad can point at it — this is the bridge between making an ad and running one, and create_tiktok_ads_ad has no other source for the ids it needs. Pass the public https url of a Hermoso render (every render already is one) or any other public https file; TikTok fetches it from its own servers, so a local path, a data: url or anything on http:// is refused here for free. A VIDEO UPLOAD ALSO UPLOADS ITS OWN COVER and hands back coverImageId — pass that straight to create_tiktok_ads_ad as imageIds, because TikTok requires a cover on a video ad and rejects any whose dimensions differ from the video. CHECK usableInAds BEFORE BUILDING THE AD: TikTok happily accepts a creative it will then refuse to build an ad from, and says so only in this flag — a 720x1280 render is fine and a 496x864 one is not, so a false here means re-render larger, and the note says so. Uploading the same file twice is fine; TikTok refuses a repeated file NAME, so leave fileName out unless you want a specific label in TikTok Ads Manager. Free — TikTok charges nothing for storage and Hermoso bills no credits for this.

Parameters

ParameterTypeDescription
advertiserIdstringfrom list_tiktok_ads_accounts — omit only when exactly one is reachable
kind"video" | "image"default video
urlrequiredstringpublic https url of the file. A Hermoso render url works as-is; for a local or external file run upload_file first to get one.
fileNamestringthe label in TikTok Ads Manager. Omit it and a unique one is derived — TikTok rejects a DUPLICATE name on the same advertiser, so an explicit name that has been used before is refused.

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/upload_tiktok_ads_creative.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"upload_tiktok_ads_creative","arguments":{"url":"<string>"}}}

CLI

hermoso call upload_tiktok_ads_creative --json '{"url":"<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.

All 759 Ad campaign management tools · tools.json