API Reference
Facebook LoginGETLogin dialog
Insights

Get an async report

GET/v27.0/{report_run_id}
Base URL: https://meta-ads.mimicr.dev · provider: https://graph.facebook.com

Status of an async report run. async_status goes Job Not Started → Job Started → Job Running → Job Completed (or Job Failed, with error_code, error_subcode, error_message, error_user_title and error_user_msg since v25.0). Runs expire after 30 days (then 100/33).

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

report_run_idstringrequired

ID of the async report run.

Example: "100539998049734"

Query parameters

fieldsstring

Comma-separated fields to return, with Graph field expansion: a,b{c,d},e.limit(5). Without it, only id (and a few default fields on some nodes) is returned. An unknown field returns (#100) Tried accessing nonexisting field.

Responses

200OK.
idstring

ID of the async report run (report_run_id).

account_idstring

ID of the ad account, without the act_ prefix.

time_refinteger

UNIX time the run was created.

time_completedinteger

UNIX time the run completed, or 0.

async_statusstring

Job Not Started, Job Started, Job Running, Job Completed, Job Failed or Job Skipped.

async_percent_completioninteger

Progress of the run, 0 to 100.

date_startstring

First day of the report.

date_stopstring

Last day of the report.

emailsstring[]

Emails notified when the report is ready.

friendly_namestring

Name of the report.

is_bookmarkedboolean

Whether the report is bookmarked.

is_runningboolean

Whether the report is still running.

schedule_idstring

ID of the report schedule.

error_codeinteger

Error code of a failed run (v25.0+).

error_messagestring

Error message of a failed run.

error_subcodeinteger

Error subcode of a failed run: 2490547 Report Failed or 1504045 Report Too Large.

error_user_titlestring

Title of the error, for people.

error_user_msgstring

Message of the error, for people.

400Error in the Graph envelope.
errorobjectrequired
Show child attributes
messagestringrequired

Description of the error.

Example: "(#100) The parameter special_ad_categories is required"
typestringrequired

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.

Example: "OAuthException"
codeintegerrequired

Error code (100 invalid parameter, 190 invalid token, 200 permission, 2635 deprecated version, 613/17/80004 rate limits, …).

Example: 100
error_subcodeinteger

Error subcode with more detail (1885272 budget too low, 463 token expired, …).

Example: 1885272
is_transientboolean

Whether retrying the same request may succeed. Present on every Marketing API error; true for codes 1 and 2.

error_user_titlestring

Title of the error, to show to people.

error_user_msgstring

Message of the error, to show to people.

error_dataobject

Extra data. blame_field_specs lists the params that caused a validation error.

Show child attributes
blame_field_specsstring[][]
fbtrace_idstringrequired

Internal support identifier of the request.

Example: "AbCdEf12345"