get_account_insights
Retrieve ad account performance metrics such as impressions, clicks, spend, and reach, aggregated by campaign, ad set, or ad to analyze results.
Instructions
Get performance insights for the ad account. Returns metrics like impressions, clicks, spend, reach, etc.
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_account_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Aggregation level: campaign, adset, ad | |
| fields | No | Comma-separated insight fields | impressions,clicks,spend,reach,frequency,cpc,cpm,ctr,actions,cost_per_action_type |
| filtering | No | JSON string for filtering | |
| account_id | No | Ad account ID to query (e.g. 'act_123' or '123'). Falls back to META_AD_ACCOUNT_ID env var if omitted. | |
| breakdowns | No | Breakdown dimensions: age,gender,country,region,publisher_platform,platform_position,device_platform,comscore_market (replaces dma). Some accounts must opt in in Ads Manager for impression_device, hourly_stats_aggregated_by_audience_time_zone, and frequency_value; empty results do not necessarily mean zero performance. | |
| time_range | No | JSON string {since,until} in YYYY-MM-DD format | |
| date_preset | No | Lowercase date preset, for example: today, yesterday, last_7d, last_14d, last_30d, this_month, last_month, this_quarter, last_quarter, this_year, last_year | |
| time_increment | No | Time granularity: all_days, 1, 7, monthly |