Skip to main content

Endpoints

Four separate endpoints support requests to create campaign and line item reports and retrieve the report data and status.

Report Request Attributes

*Required
Reporting Asynchronous Workflow: Step 1 of 3
  • First, create a request for the campaign or line item report with the desired attributes
  • This generates a reportId representing the report

Create a Report Request

Reporting endpoints provide two separate endpoints that allow downloading reports at the campaign or line item level. Each of the following requests can be repeated for each individual report type.

Campaigns Level Report

Sample Request

Line Items Level Report

Sample Request
Sample Response
Reporting Asynchronous Workflow: Step 2 of 3
  • Next, use the reportId to poll the report status endpoint until one is successfully computed

Get Status of a Specific Report

This endpoint retrieves the status of a specific report. Status can be pending, success, failure, or expired Sample Request
Sample Response
Reporting Asynchronous Workflow: Step 3 of 3
  • Finally, download the report using the report output endpoint
  • Report outputs are cached for at least 1 hour before expiration
  • Exact expiration is indicated by the expiresAt field in the /status response

Download Output of a Specific Report

This endpoint returns the specific report in the requested format. Sample Request
Sample Response Campaign Summary Report
Campaign Attribution Report


What’s next