# Upload a TikTok Ads 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 MB. Works on your own TikTok Ads account, connected through Get MCP Ads. The preview is free; the change costs $0.05 when you confirm it. Needs advertiser id, bytes base64 and file name.

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. Agentik price: free to preview; $0.05 when the change is applied (confirm: true without validateOnly).

- Tool ID: `tiktok-ads/upload-music`
- Name in the catalog: TikTok: Upload music
- Provider: [TikTok Ads](/providers/tiktok-ads.md)
- Capability: [TikTok Ads creatives](/tools/tiktok-ads/creatives.md)
- Price: free preview, $0.05 per applied change
- Workspace access is automatic. Connect a platform using the link and notice returned to your AI assistant; an owner or admin completes platform consent and returns to the conversation; see the [guide](/docs/getmcpads.md).
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0,
  "multipliers": [
    {
      "all": [
        {
          "field": "confirm",
          "equals": true
        },
        {
          "field": "validateOnly",
          "truthy": false
        }
      ],
      "setUsd": 0.05
    }
  ]
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "advertiserId": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "Exact TikTok numeric ID as a string, never a rounded JavaScript number."
    },
    "bytesBase64": {
      "type": "string",
      "minLength": 4,
      "maxLength": 13333336,
      "pattern": "^[A-Za-z0-9+/]+={0,2}$",
      "description": "Base64 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."
    },
    "fileName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Name TikTok shows for this music in the account, 1 to 100 characters, separate from ad names."
    },
    "musicScene": {
      "type": "string",
      "enum": [
        "CAROUSEL_ADS",
        "CATALOG_CAROUSEL"
      ],
      "description": "CAROUSEL_ADS (default) for image and carousel ads; CATALOG_CAROUSEL only for catalog carousels."
    },
    "confirm": {
      "type": "boolean",
      "description": "Apply only when true. Default is a local preview without any TikTok call. Never retry an uncertain POST automatically."
    },
    "workspace_id": {
      "type": "string",
      "description": "Authorized workspace ID from list_accounts/list_workspaces. Use the user's chosen workspace; never guess between clients. Optional when a unique account identifies it."
    },
    "reason": {
      "type": "string",
      "maxLength": 500,
      "description": "Why, in the person's words or from the evidence (e.g. CPA twice the target for 7 days). Saved with the change in the shared client journal."
    }
  },
  "required": [
    "advertiserId",
    "bytesBase64",
    "fileName"
  ]
}
```

## Published example

No example input is published for this tool. Ask for the inputs required by its schema.

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[REST inspection](https://api.agentik.cc/v1/tools/tiktok-ads/upload-music) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

## Provider websites

- [Get MCP Ads](https://www.getmcpads.com/)

---

[HTML page](/providers/tiktok-ads/upload-music) · [Agent index](/llms.txt)
