Ads Insights API
Updated: Apr 27, 2026
The Ads Insights API provides performance data and statistics for Meta ads. With its flexible reporting options, you can customize your requests and obtain nearly any metric available in Meta Ads Manager.
Before you begin
To access the Ads Insights API, you will need:
- An app. (See Meta App Development for more information.)
- The ads_read permission. (See Permissions and Authorization for more information.)
You should also set up your ads to track the actions you’re interested in. For that, you can use tools like the Conversions API or Meta Pixel.
Calling the Ads Insights API
The Ads Insights API is available as an edge off of all ad objects. (See more information about Meta’s ad hierarchy here.)
| Resource | Provides |
|---|---|
Insights from an ad account | |
Insights from an ad campaign | |
Insights from an ad set | |
Insights from an ad |
By default,
GET requests will return basic metrics for the ad object, typically from the past 30 days.Example request
curl -G \
-d "access_token=<ACCESS_TOKEN>" \
"https://graph.facebook.com/v25.0/<CAMPAIGN_ID>/insights"
Example response:
{ "data": [ { "account_id": "<AD_ACCOUNT_ID>", "campaign_id": "<CAMPAIGN_ID>", "date_start": "2025-03-14", "date_stop": "2025-04-12", "impressions": "361324", "spend": "5339.5" } ], "paging": { "cursors": { "before": "MAZDZD", "after": "MAZDZD" } } }
Customizing Your Requests
You can obtain much more specific data by leveraging three main components in your request: parameters (to specify things like time ranges, attribution windows, etc.), fields (i.e., metrics), and breakdowns. For example, to know the number of clicks (all) by gender that happened in the last 7 days of your campaign, you might include:
- Parameters:
date_preset=last_7d - Fields:
clicks - Breakdowns:
gender
Example request
curl -G \
-d "date_preset=last_7d" \
-d "fields=clicks" \
-d "breakdowns=gender" \
-d "access_token=<ACCESS_TOKEN>" \
"https://graph.facebook.com/v25.0/<CAMPAIGN_ID>/insights"
Example response
{ "data": [ { "clicks": "7346", "date_start": "2025-04-06", "date_stop": "2025-04-12", "gender": "female" }, { "clicks": "3788", "date_start": "2025-04-06", "date_stop": "2025-04-12", "gender": "male" }, { "clicks": "79", "date_start": "2025-04-06", "date_stop": "2025-04-12", "gender": "unknown" }, ], "paging": { "cursors": { "before": "MAZDZD", "after": "MAZDZD" } } }
Learn More
The Ads Insights API can be powerful, so be sure to read on and learn how to master its features:
- Parameters and Fields
- Metrics
- Breakdowns
- Asynchronous Requests
- Limits and Best Practices
- Specific guides for conversions reporting, Product-Level Reporting, and Marketing Mix Modeling
You can additionally find auto-generated reference documentation for each ad object’s insights edge:
If you plan to include data from the Ads Insights API in your solution, please also review the Meta Platform Terms and Developer Policies for Marketing API.