API Reference
Get the rows of an async report
/v27.0/{report_run_id}/insightshttps://meta-ads.mimicr.dev · provider: https://graph.facebook.comRows of a completed run, in the shape of the synchronous Insights call, with cursor paging. Before completion returns (#100) Report is not ready yet.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
ID of the async report run.
"100539998049734"Query parameters
Maximum items per page (default 25).
Cursor of paging.cursors.after: the page after.
Cursor of paging.cursors.before: the page before.
Responses
200OK.
Show child attributes
ID of the ad account, without the act_ prefix.
Name of the ad account.
Currency of the ad account.
ID of the campaign.
Name of the campaign.
ID of the ad set.
Name of the ad set.
ID of the ad.
Name of the ad.
Objective of the campaign.
What the ad set optimizes delivery for. It must be compatible with the campaign objective.
Number of times the ads were on screen.
Number of people who saw the ads at least once (estimated).
Average number of times each person saw the ads (impressions / reach).
Amount spent, in major units of the account currency, as a decimal string ("13.11").
Number of clicks on the ads.
Number of people who clicked.
Clicks on links that lead to destinations on or off Meta.
Click-through rate, clicks / impressions × 100.
Average cost per click.
Average cost per 1,000 impressions.
Average cost to reach 1,000 people.
Actions attributed to the ads, as {action_type, value}. CTWA conversations are onsite_conversion.messaging_conversation_started_7d.
Show child attributes
Kind of action (link_click, lead, purchase, onsite_conversion.messaging_conversation_started_7d, …).
Value of the metric, as a string.
Value in the 7-day click attribution window.
Value in the 1-day view attribution window.
Total value of the conversions attributed to the ads, in major units.
Show child attributes
Kind of action (link_click, lead, purchase, onsite_conversion.messaging_conversation_started_7d, …).
Value of the metric, as a string.
Value in the 7-day click attribution window.
Value in the 1-day view attribution window.
Average cost of each action type.
Show child attributes
Kind of action (link_click, lead, purchase, onsite_conversion.messaging_conversation_started_7d, …).
Value of the metric, as a string.
Value in the 7-day click attribution window.
Value in the 1-day view attribution window.
Conversions attributed to the ads.
Show child attributes
Kind of action (link_click, lead, purchase, onsite_conversion.messaging_conversation_started_7d, …).
Value of the metric, as a string.
Value in the 7-day click attribution window.
Value in the 1-day view attribution window.
First day of the row, YYYY-MM-DD in the ad account time zone.
Last day of the row, YYYY-MM-DD in the ad account time zone.
Breakdown age: age range (18-24, 25-34, …).
Breakdown gender: male, female or unknown.
Breakdown publisher_platform: facebook, instagram, messenger, audience_network.
Breakdown platform_position: feed, story, reels, …
Breakdown device_platform: mobile_app, mobile_web, desktop.
Breakdown region: state or region name.
Breakdown country: ISO-2 country code.
Cursor-based paging. next is absent on the last page and repeats every query param of the request, access_token included.
Show child attributes
Show child attributes
Cursor of the first item of the page.
Cursor of the last item of the page.
URL of the next page.
URL of the previous page.
400Error in the Graph envelope: 100 report not ready.
Show child attributes
Description of the error.
"(#100) The parameter special_ad_categories is required"OAuthException for most codes (the Marketing API uses it for validation too), GraphMethodException for unknown objects, FacebookApiException for transient errors. In Mimicr, routes outside the integration core answer MimicrNotSimulated with HTTP 501.
"OAuthException"Error code (100 invalid parameter, 190 invalid token, 200 permission, 2635 deprecated version, 613/17/80004 rate limits, …).
100Error subcode with more detail (1885272 budget too low, 463 token expired, …).
1885272Whether retrying the same request may succeed. Present on every Marketing API error; true for codes 1 and 2.
Title of the error, to show to people.
Message of the error, to show to people.
Extra data. blame_field_specs lists the params that caused a validation error.
Show child attributes
Internal support identifier of the request.
"AbCdEf12345"