get_campaign_insights
Retrieve performance metrics for a single campaign by providing its campaign ID. Define fields, filters, segments, and time ranges to target the exact insights your analysis needs.
Instructions
Get campaign insights. Chain from list_campaigns -> campaign_id. Same params as ad account insights but scoped to one campaign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort specs, e.g., ["-impressions"]. | |
| after | No | Cursor for pagination. | |
| limit | No | Max rows 1–2000. | |
| before | No | Cursor for pagination. | |
| fields | No | Fields to return, e.g., ["impressions","clicks","spend_micros"]. | |
| filters | No | Filters array (opaque, enumerated in docs). | |
| includes | No | ||
| segments | No | Segments: product, country, device, etc. For product breakdown add product.feed_id + product.item_id to fields. | |
| campaign_id | Yes | Campaign ID. | |
| time_ranges | No | Time ranges, e.g., ["2026-01-01:2026-01-31"]. Check docs for format; required for conversion insights. | |
| ad_account_id | No | ||
| time_granularity | No | Time bucket. Use daily for trend analysis. | |
| aggregation_level | No | Aggregation scope. | |
| override_segment_group_order | No |