Retrieves the status of an export run job. See Analytics Reports API quickstart for more details.
Every export generation endpoint (such as /reports/report/author ) returns a
statusUrl field that includes the version of the
/reports/report/<workflowId>/<runId>/status endpoint that includes the
analyticsAccessToken specific to that job.
When you make a request to the endpoint, look for a
result.runnerState of CLOSED and a
result.detail of COMPLETED. When these conditions are met, make a GET request to the endpoint in the
downloadUrl field in the response to download the export.
result.runnerStateis CLOSED and the
result.detailis COMPLETED, you will not see a value for
downloadUrlbecause the export job is not finished or has not finished successfully. If the export job is not finished, wait for a while and then run the
statusUrlendpoint again. Export job run times vary.