Pull a Meta Ads Insights report via the Marketing API

domain: developers.facebook.com/docs/marketing-api/insights · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with a user or system user access token with ads_read permission on the ad account.
  2. For large or complex reports, create an async job by POSTing to /act_AD_ACCOUNT_ID/insights with desired fields, breakdowns, date_preset or time_range, and level (account, campaign, adset, or ad).
  3. Capture the report_run_id from the response and poll GET /{REPORT_RUN_ID} until async_status is 'Job Completed'.
  4. Fetch the results by sending GET /{REPORT_RUN_ID}/insights with pagination parameters (limit, after cursor).
  5. For synchronous small reports, GET directly on /act_AD_ACCOUNT_ID/insights or /{CAMPAIGN_ID}/insights with fields as a comma-separated query parameter.
  6. Use the date_preset (e.g. last_30d) or explicit time_range to control the reporting window; apply breakdowns like age, gender, or publisher_platform to segment results.

Known gotchas

Related routes

Pull new-to-brand performance metrics for Sponsored Brands campaigns via the Amazon Ads Reporting API v3
advertising · 6 steps · unrated
Pull a TikTok Business API performance report using the Reporting API
advertising · 6 steps · unrated
Request a Meta Ads Insights async report and poll for completion
developers.facebook.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans