get_account_insights
Retrieve key performance metrics for your ad account, including impressions, clicks, spend, reach, and more, with options for level, filtering, breakdowns, and date ranges.
Instructions
Get performance insights for the ad account. Returns metrics like impressions, clicks, spend, reach, etc.
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 | |
| breakdowns | No | Breakdown dimensions: age,gender,country,region,placement,device_platform | |
| time_range | No | JSON string {since,until} in YYYY-MM-DD format | |
| date_preset | No | Date preset: 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 |