TikTok Ads: Get Performance Report
tiktok_get_performanceReport TikTok Ads performance — spend, impressions, clicks, CTR, CPC, CPM, conversions, cost per conversion, results — for ad accounts, campaigns, ad groups or ads over a date range, as one total per row or broken down by day, week or month. Covers up to 20 ad accounts in one call and manual, Smart+ and Upgraded Smart+ campaigns alike. Filter with campaign_ids, adgroup_ids or ad_ids; choose metrics by TikTok's metric names (e.g. complete_payment_roas, total_purchase_value, reach, frequency). TikTok's limits: a DAY breakdown spans at most 30 days, WEEK 180, MONTH and TOTAL 365. Rows are paged; hasMore marks a partial result. Money is in each ad account's own currency. 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_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. Default 1. | |
| level | No | What one row is: ACCOUNT, CAMPAIGN (default), ADGROUP or AD. | |
| ad_ids | No | Only these ads (up to 100 ids). For an Upgraded Smart+ campaign use the ad's smartPlusAdId. | |
| metrics | No | TikTok metric names to return, up to 40. Default: spend, impressions, clicks, ctr, cpc, cpm, conversion, cost_per_conversion, conversion_rate, result, cost_per_result. Others include reach, frequency, complete_payment, complete_payment_roas, total_purchase_value, value_per_complete_payment, video_play_actions, likes, shares. A metric TikTok does not offer for this breakdown is refused by TikTok with a message naming it. | |
| sort_by | No | Metric to sort rows by, e.g. spend. Default: TikTok's own order. | |
| end_date | No | Last day of the report, YYYY-MM-DD, inclusive. Default: today. The range may span 30 days with granularity DAY, 180 with WEEK, 365 with MONTH or TOTAL. | |
| page_size | No | Rows per page, 1 to 1000. Default 100. | |
| sort_order | No | DESC (default) or ASC. Used only with sort_by. | |
| start_date | No | First day of the report, YYYY-MM-DD, in the ad account's time zone. Default: 29 days before end_date. | |
| adgroup_ids | No | Only these ad groups (up to 100 ids). | |
| granularity | No | TOTAL (default): one row per object for the whole range. DAY, WEEK or MONTH: one row per object per period. | |
| campaign_ids | No | Only these campaigns (up to 100 ids). | |
| advertiser_ids | No | TikTok ad accounts to report on: advertiser ids or account names (from tiktok_list_ad_accounts), up to 20. Omitted: the only account or the stored default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page returned. | |
| rows | Yes | One row per object, or per object and period. | |
| level | Yes | What one row is. | |
| endDate | Yes | Last day covered, inclusive. | |
| hasMore | Yes | True when further pages exist, so this result is partial: ask for the next page before totalling or ranking. | |
| warning | No | TikTok's own notice that it truncated the report, when it did. | |
| currency | Yes | Currency of every money metric when the report covers one ad account; null when it covers several, where each row carries its own. | |
| pageSize | Yes | Rows asked for per page. | |
| startDate | Yes | First day covered, YYYY-MM-DD. | |
| totalRows | Yes | Rows TikTok holds for this query, across all pages. | |
| granularity | Yes | How rows are bucketed in time. | |
| advertiserIds | Yes | Ad accounts the report covers. | |
| conversionNote | Yes | What TikTok's conversion and result metrics count and how they are attributed. |