Skip to main content
POST
/
preview
/
categories
/
report
/preview/categories/report
curl --request POST \
  --url https://api.criteo.com/preview/categories/report \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "type": "GenerateCategoriesReport",
    "attributes": {
      "advertiserIds": [
        "123",
        "456",
        "789"
      ],
      "campaignId": "111",
      "adsetId": "135",
      "domain": "example.com",
      "category": "Example",
      "shouldDisplayDomainDimension": true,
      "format": "csv",
      "timezone": "Europe/Paris",
      "startDate": "2024-01-01T00:00:00.0000000+00:00",
      "endDate": "2024-01-04T00:00:00.0000000+00:00"
    }
  }
}
'
"<string>"

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

A top-level object that encapsulates a Criteo API request for a single value object.

data
object

A value resource exposed by the API.

Response

Success

The response is of type file.