---
title: 'Meta Ads Insights API: Breakdowns, Async Jobs & Actions'
description: 'Query Meta Ads Insights API without timeouts or double-counted revenue: async POST jobs, publisher_platform breakdowns, attribution windows, and rate limits.'
canonical: 'https://plainrouter.com/library/meta-ads-insights-api'
format: Guide
last_updated: '2026-12-04'
---

The Meta Ads Insights API (/\{ad\_account\_id\}/insights) is where almost every reporting pipeline hits its first silent bug: timeouts on 90-day breakdowns, double-counted revenue from nested action\_values arrays, mismatched attribution windows against Ads Manager, or Error 17 / 80004 rate-limit spikes. Getting it right comes down to four patterns: account-level batched queries, async reporting jobs, explicit attribution windows, and strict action\_type filtering.

## Core parameters that control Insights API output

Always request metrics at the ad account edge (/\{ad\_account\_id\}/insights) with a level parameter instead of looping over individual campaigns or ads:

- **level: **Set account, campaign, adset, or ad. Querying /\{ad\_account\_id\}/insights?level=ad pulls every active ad in paginated batches instead of burning hundreds of N+1 Graph calls.
- **time\_range vs date\_preset: **Use explicit time\_range=\{'since':'2026-11-01','until':'2026-11-30'\} and time\_increment=1 for reproducible daily tables rather than floating presets.
- **action\_attribution\_windows: **Pass \['7d\_click','1d\_view'\] (or your exact ad-set optimization window) explicitly. Leaving attribution windows implicit can produce totals that differ from your Ads Manager columns.
- **limit and cursor pagination: **Keep page limit conservative (50 to 500 rows depending on how many fields and breakdowns you request). Large breakdown requests with high limits frequently trigger HTTP 500 or timeout errors even when the endpoint technically accepts a higher cap.

## Breakdowns: publisher\_platform, placement, and incompatible pairs

Adding breakdowns multiplies output row counts quickly. Common valid breakdowns include publisher\_platform (facebook, instagram, audience\_network, messenger), platform\_position (feed, story, reels), age, gender, country, and device\_platform.

- **Watch unique metric non-additivity: **Never sum reach or frequency across breakdown rows or across days. Reach is deduplicated per query slice; summing publisher\_platform rows overcounts total audience.
- **Watch incompatible breakdowns: **Meta rejects certain combinations (such as hourly breakdowns paired with some demographic or action breakdowns) and omits specific metrics like unique\_clicks or post-share breakdowns on restricted combinations. Always inspect Graph API error subcodes rather than assuming missing keys equal zero.

## Parsing actions and action\_values without double-counting

One of the most expensive Meta Insights API mistakes is summing every purchase-like entry in the actions or action\_values array. Meta returns overlapping aliases in the exact same array:

- **purchase vs omni\_purchase vs offsite\_conversion.fb\_pixel\_purchase: **A single web purchase can appear simultaneously under purchase, omni\_purchase, and offsite\_conversion.fb\_pixel\_purchase. Pick ONE canonical action\_type (typically purchase or omni\_purchase depending on your Ads Manager setup) and filter strictly to that single key.
- **Check post engagement vs conversion keys: **For social metrics such as post shares broken down by publisher\_platform, look for action\_type === 'post' (post shares) inside the actions array rather than top-level fields.

## Use async jobs (POST /insights) for wide ranges and breakdowns

Synchronous GET /insights calls fail regularly when querying ad-level data with breakdowns across 30+ days. Switch to asynchronous report runs:

` # 1. Start async insights job
curl -X POST "https://graph.facebook.com/v22.0/act_123456789/insights" \
  -H "Authorization: Bearer $META_TOKEN" \
  -d "level=ad" \
  -d "fields=ad_id,ad_name,spend,impressions,clicks,actions,action_values" \
  -d "breakdowns=publisher_platform,platform_position" \
  -d "action_attribution_windows=['7d_click','1d_view']" \
  -d "time_range={'since':'2026-11-01','until':'2026-11-30'}"

# Response: { "report_run_id": "987654321098765" }

# 2. Poll job status until async_status == 'Job Completed'
curl "https://graph.facebook.com/v22.0/987654321098765" \
  -H "Authorization: Bearer $META_TOKEN"

# 3. Fetch paginated rows
curl "https://graph.facebook.com/v22.0/987654321098765/insights?limit=200" \
  -H "Authorization: Bearer $META_TOKEN" `

## Avoiding rate limits on reporting jobs

Every Insights request consumes rolling Business Use Case quota reported in the X-Business-Use-Case-Usage header. Back off automatically whenever call\_count, total\_cputime, or total\_time approaches 85%, and wait the full estimated\_time\_to\_regain\_access minutes if throttled. See our full header backoff guide in [Meta Ads API rate limits](</library/meta-ads-api-rate-limits>).

## Frequently asked questions

### What is the maximum limit parameter for /act\_\{id\}/ads or /insights requests?

While some Graph API list edges accept larger page sizes, practical safe limits depend on payload weight, nested fields, and breakdowns. Using limit=100 to 500 with cursor pagination (and switching heavy /insights queries to async POST jobs) prevents 'Please reduce the amount of data you are asking for' errors.

### Why do my Insights API purchase totals not match Meta Ads Manager?

Check three causes first: mismatched action\_attribution\_windows (Ads Manager defaults vs your API call), summing overlapping action\_type aliases (purchase + omni\_purchase + offsite\_conversion.fb\_pixel\_purchase), or timezone differences between your database dates and the ad account timezone.

### How do I pull post shares with a publisher\_platform breakdown?

Request fields=ad\_id,actions with breakdowns=publisher\_platform, then filter each returned row's actions array for action\_type === 'post'. Note that not every placement supports every engagement breakdown.

### Do I need to build a custom Insights ETL pipeline just to run AI ad audits?

No. [Plainrouter Meta Ads MCP](</solutions/meta-ads-mcp>) lets Claude, ChatGPT, Codex, and Cursor read retained Meta campaign performance beside your own first-party conversion arrivals without maintaining custom Insights API polling scripts or tripping Graph API rate limits.

## Related guides and tools

- [Meta Ads API rate limits](</library/meta-ads-api-rate-limits>): decode X-Business-Use-Case-Usage headers and fix Error 17, 80004, and 613.
- [Meta Ads API: Marketing API setup, access and limits](</library/meta-ads-api>): authentication, Development vs Standard access, and endpoints.
- [Meta Ads MCP vs Meta Marketing API scripts](</library/meta-ads-mcp-vs-meta-marketing-api>): when to use hosted MCP vs custom Graph API pipelines.
- [Meta ads reporting guide](</library/meta-ads-reporting>): reconcile Ads Manager metrics with first-party conversion truth.
