TikTok Ads: Get Pixel Event Activity
tiktok_get_pixel_eventsCheck whether TikTok tracking is receiving events: list the pixels of one ad account (up to 10, or one by pixel_id) with the events each defines, and for each event the number received in the period, split into browser and server (Events API) events, plus how many TikTok attributed to ads. Up to 30 days per call, default the last 7; days are UTC. A pixel with no activity received nothing in the period. Returns counts only, never event contents or visitor data. Reads only; changes nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tiktok_get_pixel_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | Last day, YYYY-MM-DD, inclusive. Default: today. At most 30 days. | |
| pixel_id | No | Only this pixel (pixelId from tiktok_get_adgroups or tiktok_get_ad_creative). Omitted: the account's first 10 pixels. | |
| start_date | No | First day, YYYY-MM-DD (UTC). Default: 6 days before end_date. | |
| advertiser_id | No | TikTok ad account to read: advertiser id or account name (from tiktok_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pixels | Yes | One entry per pixel. | |
| endDate | Yes | Last day covered, inclusive. | |
| currency | Yes | ISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then. | |
| startDate | Yes | First day covered, YYYY-MM-DD (UTC). | |
| morePixels | Yes | True when the account has more pixels than were returned; pass pixel_id to read another. | |
| advertiserId | Yes | TikTok ad account (advertiser id) that was read. |