get_insights
Retrieve raw insight data for ad accounts, campaigns, ad groups, or ads, with optional field selection and automatic date handling.
Instructions
Escape hatch for raw insight rows at a given aggregation level.
aggregation_level is one of ad_account/campaign/ad_group/ad.
If fields is omitted, sensible defaults for that level are used (fields must match
the level, e.g. campaign.impressions not ad.impressions). The until == today quirk is handled for you. Prefer ad_performance for the common 'find weak
ads' task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aggregation_level | Yes | ||
| since | Yes | ||
| until | Yes | ||
| fields | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aggregation_level | Yes | ||
| since | Yes | ||
| until | Yes | ||
| rows | No |