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
Rate limits
Calls to this endpoint count against the reporting rate limit, which depends on the OAuth method your application uses.429 responses.
Sample Request
200)
Slot-level metrics
Placement-level fill rate counts a placement as filled if at least one ad rendered. For Sponsored Products, where one placement can host a grid or carousel of several slots, a placement configured for 10 slots with only 1 painted still counts as filled. The following metrics expose slot-level inputs so you can measure how many slots are actually filled.Metric | Description |
|---|---|
| Sum of the ads returned across all deliverable placements. |
| Inferred number of paintable slots across all deliverable placements. Formula:
|
Calculating slot fill rate and slot coverage rate
The API does not return a slot fill rate or slot coverage rate. Calculate them from the raw metrics:- Slot fill rate against inferred slots:
coveredSlots/deliverableSlotsInferred
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:
|
🔴 |
|