PRODUCT
Follow

This article describes a recommended method for generating an ad-hoc and scheduled report request.

Follow this procedure to streamline report generation:

Procedure
  1. Generate a report using the Save and Execute command.

    • Sandbox: POST https://uat.dev.sizmek.com/rest/ReportBuilder/reports/saveAndExecute

    • Production: POST https://api.sizmek.com/rest/ReportBuilder/reports/saveAndExecute

  2. Use the Analytics Reporting feature in Sizmek Ad Suite to generate the body of the report in JSON. (For more information, see Generate an Aggregated Report. Note that you need Sizmek Ad Suite credentials to access this article.)

  3. Scroll to the API Object. This object contains a JSON report request according to your report selections.

    The following is an example of the API generated by the Analytics Reporting feature for an ad-hoc report:

  4. Copy the report request into your API execution tool and create the report.

  5. While an ad-hoc report runs, you can use the execution ID to check its status. Continue to check until the status is Finished.

    • Sandbox: GET https://uat.dev.sizmek.com/rest/ReportBuilder/reports/executions/{executionID}

    • Production: GET https://api.sizmek.com/rest/ReportBuilder/reports/executions/{executionID}

    Important

    Important: Do not run this request more than once per minute.

  6. When the status is Finished, you can download the report from the URL in the response.

For a scheduled report you must define the schedule when the report should run.

  • Sandbox: POST https:// uat.dev.sizmek.com/rest/ReportBuilder/reports/saveAndActivate

  • Production: POST https://mdx.sizmek.com/rest/ReportBuilder/reports/saveAndActivate

The following is an example of the API generated by the Analytics Reporting feature for a scheduled report:

If you do not want to use the generate tool, you can create your own report request following the structure outline and fields described in Report Object.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk