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.
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) |