Get Ad Account Insights
get_account_insightsRetrieve ad account performance metrics like impressions, clicks, spend, and CTR. Filter by campaign, ad set, or ad level and specify date ranges for targeted insights.
Instructions
Get performance insights for the ad account. Optionally set level=campaign, adset, or ad to break down results. Use since/until for date ranges. Returns metrics like impressions, clicks, spend, cpc, cpm, ctr, reach.
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 (default: account) | |
| limit | No | Max number of rows to return (default: 5000, max: 5000) | |
| since | No | Start date (YYYY-MM-DD). Used with 'until' to build time_range. | |
| until | No | End date (YYYY-MM-DD). Used with 'since' to build time_range. | |
| fields | No | Comma-separated list of metrics/dimensions. Common: impressions, clicks, spend, cpc, cpm, ctr, reach, frequency, actions, cost_per_action_type, conversions, cost_per_conversion. Default: impressions,clicks,spend,cpc,cpm,ctr,reach | |
| filtering | No | JSON array of filter objects. Example: [{"field":"impressions","operator":"GREATER_THAN","value":"0"}] | |
| breakdowns | No | Comma-separated breakdowns. Common: age, gender, country, publisher_platform, device_platform, impression_device | |
| time_increment | No | Time granularity: 1 (daily), 7, 14, monthly, or all_days (default: all_days) |