Skip to content

tiktok_upload_music

Upload the advertiser’s own music for TikTok image and carousel ads, classic or Smart+: an MP3 the advertiser holds the rights to, at least 2 seconds and 10…

View as Markdown

Upload the advertiser’s own music for TikTok image and carousel ads, classic or Smart+: an MP3 the advertiser holds the rights to, at least 2 seconds and 10 MB at most. Returns its music_id at media.id, to set as music_id (Smart+: music_info.music_id). Uploaded music also plays on Pangle, where library music is silent. Creates no ad. Local preview by default. No automatic retry; advertiser ownership is checked before applying.

Kind
Write
Discovery
Reachable through search_tools and run_tool
Account parameter
advertiserId
Endpoint
https://mcp.getmcpads.com/tiktok-ads/mcp

Parameters

Parameters
NameTypeRequiredNotes
advertiserIdstringRequiredExact TikTok numeric ID as a string, never a rounded JavaScript number.
bytesBase64stringRequiredBase64 MP3 bytes without a data-URL prefix, 10 MB at most once decoded. The MD5 signature TikTok verifies is computed here; bytes never appear in previews.
fileNamestringRequiredName TikTok shows for this music in the account, 1 to 100 characters, separate from ad names.
musicScenestringOptionalCAROUSEL_ADS (default) for image and carousel ads; CATALOG_CAROUSEL only for catalog carousels. One of: CAROUSEL_ADS, CATALOG_CAROUSEL.
confirmbooleanOptionalApply only when true. Default is a local preview without any TikTok call. Never retry an uncertain POST automatically.

Calling it

json · Through run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "tiktok_upload_music",
    "args": {
      "advertiserId": "<string>",
      "bytesBase64": "<string>",
      "fileName": "<string>"
    }
  }
}

Manage your ads from your AI assistant

Start for free

Free with 1 ad account, no card. Pro is free for 7 days.

Esc

Type to search