tiktok_ create_ pixel
Create a website pixel in this advertiser (developer setup mode: events come from the site code).
View as MarkdownCreate 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.
- Source
- TikTok Ads
- Kind
- Write
- Discovery
- Reachable through
search_toolsandrun_tool - Account parameter
advertiserId- Endpoint
- https:/
/ mcp. getmcpads. com/ tiktok-ads/ mcp
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
advertiserId | string | Required | Exact TikTok numeric ID as a string, never a rounded JavaScript number. |
pixelName | string | Required | Exact pixel name, 40 characters at most, unique in this advertiser, for example the website it measures. |
confirm | boolean | Optional | Apply only when true. Default is a local preview without any TikTok call. Never retry an uncertain POST automatically. |
Calling it
{
"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.