API Reference
Create an async report (ad)
/v27.0/{ad_id}/insightshttps://meta-ads.mimicr.dev · provider: https://graph.facebook.comStarts an asynchronous Insights report for the ad, with the same params as the synchronous call, and returns report_run_id. Poll GET /{report_run_id} until async_status is Job Completed, then read GET /{report_run_id}/insights.
In Mimicr, a run completes asyncReportSeconds (default 8 s) of sandbox time after it starts; the rows are the snapshot at completion. The control action insights.fail_next_report makes the next run end in Job Failed.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
ID of the ad.
"120200539998049721"Body
application/x-www-form-urlencodedThe params of the synchronous call.
Responses
200OK.
ID of the report run.
400Error in the Graph envelope.
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"