Analyze estimated ad spend
get_top_ads_statsAnalyze latest cumulative estimated spend in EUR for your tracked advertisers. page_id is an exact advertiser filter. timeframe filters when ads were last seen, NOT spend accrued during that period. Creative breakdowns sample the top 1,000 ads; response metadata states matched and sampled counts and full-match aggregate spend. Zero can mean unavailable estimates.
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": "get_top_ads_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| page_id | No | Meta advertiser page ID, kept as a string. | |
| project | No | all, my_brands, unassigned, or an owned project public_id. Every choice stays within your tracked brands. | |
| category | No | ||
| timeframe | No | Last-seen window; never a period-spend calculation. | 30d |
| media_type | No | all | |
| active_only | No |