📘
The /reports endpoint allows you to find and retrieve attribution report IDs and associated metadata.
The default responses for these endpoints are delivered in JSON format. To request a CSV formatted response, simply append the format to the URL as shown:
The response from the /reports endpoint is paginated, returning the first page of results with 50 rows per page by default. The result page can be changed using the page key, and the result count per page can be increased to up to 100 rows using the perPage key. Both keys are described in the Request table below.
| Endpoint | Verb | Body | Accepts |
|---|
/reports | POST | Request | JSON |
| key | type | description |
|---|
filters | Array | Array of filter |
page | Integer | Reports page index, default = 1 |
perPage | Integer | Max number of reports per page, default = 50 |
options | Object | requestOptions |
| key | type | description |
|---|
predicates | Array | Array of Predicate |
| key | type | description |
|---|
dimension | Object | Dimension |
operator | Object | Operator |
values | Array | Array of values to be used by the operator function |
| key | type | description |
|---|
name | String | name, type, status, startDate, endDate, campaign, advertiser, partner |
| key | type | description |
|---|
name | String | IN, NOT_IN, BETWEEN, LIKE, GREATER_THAN, LESS_THAN |
| key | type | description |
|---|
includeQueryInResponse | Boolean | Set to true if you would like your request/query included in your response. |
| key | type | description |
|---|
reports | Array | Array of report |
page | Integer | Page index. |
perPage | Integer | Max number of reports per page, default = 50 |
totalPages | Integer | Number of pages of results that are available |
query | Object | Request. Included if original request's includeQueryInRepsonse option is set to "true" |
| key | type | description |
|---|
id | String | |
name | String | |
type | String | OVERALL, PARTNER, CUSTOM |
status | String | COMPLETED, PENDING, PROCESSING |
startDate | String | Formatted Date, YYY-MM-DD |
endDate | String | Formatted Date, YYY-MM-DD |
lastUpdateDate | String | Formatted Date, YYY-MM-DD |
campaign | Object | Campaign |
advertiser | Object | Avertiser |
partner | Object | Partner |
| key | type | description |
|---|
name | String | |
| key | type | description |
|---|
name | String | |
| key | type | description |
|---|
name | String | |