Endpoints
The report generation uses an asynchronous endpoint that is used to receive the report creation request (using a POST request); then, using the reportid generated, it’s possible to check the report status and download the output results using the following GET endpoint requests.
Verb | Endpoint | Description |
|---|---|---|
POST |
| Request a fill rate report creation |
POST |
| Request an unfilled reasons report |
GET |
| Get status of a specific report |
GET |
| Download output of a specific report |
Report Request Attributes
Attribute | Data Type | Description |
|---|---|---|
| list\ | Supply Account IDs to pull results for Accepted values: array of strings/int64 Writable? N / Nullable? N |
| list\ | An array of strings used to define which dimensions to see in the report Accepted values: refer toMetrics and Dimensionsfor the complete list of supported dimensions Writable? N / Nullable? N |
| list\ | An array of strings used to define which metrics to see in the report Accepted values: refer toMetrics and Dimensionsfor the complete list of supported metrics Writable? N / Nullable? N |
| date | Start date of the report (inclusive) Accepted values: Writable? N / Nullable? N |
| date | End date of the report (inclusive) Accepted values: Writable? N / Nullable? N |
| string | Time zone to consider in the metrics calculation, Accepted values:IANA (TZ database)time zones (example: Default: Writable? N / Nullable? Y |
| enum | The format type the report should return results Accepted values: Default: Writable? N / Nullable? N |
| enum | The ad server responsible for rending the ad on the retailer site. Accepted values: |
- Writeable (Y/N): Indicates if the field can be modified in requests.
- Nullable (Y/N): Indicates if the field can accept null/empty values.
- Primary Key: A unique, immutable identifier of the entity, generated internally by Criteo. Primary keys are typically ID fields (e.g.,
retailerId,campaignId,lineItemId) and are usually required in the URL path.
Create a Fill Rate Report request
This endpoint receives requests to create Fill Rate Reports and returns a reportid (to be used in the next steps) in case the request was successfully created ; otherwise, will expose errors details about the request issues
Sample Request
200)
Retrieve Unfilled Reasons
Get status of specific report
This endpoint retrieves the status of a specific report creation.Status can be
pending, success, failure, or expired.
Sample Request
Download output of specific report
Once the report creation is completed ("status": "success" in response above), the report output will be available to download in this endpoint.
Sample Request
Responses
Response | Description |
|---|---|
🟢 | Call executed with success |
🔴 | Common Validation Errors:
|
🔴 |
|