Skip to content

tiktok_create_pixel

Create a website pixel in this advertiser (developer setup mode: events come from the site code).

View as Markdown

Create a website pixel in this advertiser (developer setup mode: events come from the site code). Returns pixel_id and pixel_code, the public code the site loads. Creates no event rule and installs no website code. TikTok recommends one pixel per website: read tiktok_get_pixels first and reuse an existing one. Expanded data sharing (automatic click and page metadata collection) starts on: turn it off with tiktok_update_pixel_settings before installing the code. 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.
pixelNamestringRequiredExact pixel name, 40 characters at most, unique in this advertiser, for example the website it measures.
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_create_pixel",
    "args": {
      "advertiserId": "<string>",
      "pixelName": "<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