Domain Blocking
Retrieve Targeting List
Use this call to retrieve a list of of blocked or allowed domains for your advertiser.The API will return the type, mode and a corresponding array containing 3 parameters. The array parameters are “value”, “readonly” and “active”.
- The value parameter contains the domain.
- The readonly flag indicates if you can change the rule. Rules added by Criteo are not editable and will always return true.
- The active flag indicates if the rule is activated and currently being taken into account. Please note that there is a delay between setting-up the rule and this field changing.
Sample Return Body
Add A New Targeting List
Use this endpoint to create a list for the given advertiser. You can specify either a “BLOCKLIST” or “ALLOWLIST” in the payload. The request body should contain the “mode” and an array of objects containing the domains to block/allow.- The mode parameter can be “BLOCKLIST” or “ALLOWLIST”.
Sample Request Body
Sample Success Response
Add Domains To An Existing List
Use this call to add a domain(s) to the existing list.The request body should contain an array of objects containing the domain(s) that you want to add. Please reference the below for a sample payload.
Sample Request Body
Sample Response Body
Remove Domains From An Existing List
Use this call remove a domain(s) from an existing list.The request body should contain an array of objects containing the domain(s) that you want to remove. Please reference the below for a sample payload.
Sample Request Body
Sample Response Body
App Bundle Blocking
Retrieve Targeting List
Use this call to retrieve a list of of blocked or allowed app bundles for your advertiser.The API will return the type, mode and a corresponding array containing 3 parameters. The array parameters are “value”, “readonly” and “active”.
- The value parameter contains the app bundle.
- The readonly flag indicates if you can change the rule. Rules added by Criteo are not editable and will always return true.
- The active flag indicates if the rule is activated and currently being taken into account. Please note that there is a delay between setting-up the rule and this field changing.
Sample Return Body
Add A New Targeting List
Use this endpoint to create a list for the given advertiser. You can specify either a “BLOCKLIST” or “ALLOWLIST” in the payload. The request body should contain the “mode” and an array of objects containing the app bundles to block/allow.- The mode parameter can be “BLOCKLIST” or “ALLOWLIST”.
Sample Request Body
Sample Request Response
Add App Bundles To An Existing List
Use this call to add a bundle(s) to the existing list.The request body should contain an array of objects containing the app bundle(s) that you want to add. Please reference the below for a sample payload.
Sample Request Body
Sample Response Body
Remove App Bundles From An Existing List
Use this call remove a bundle(s) from an existing list.The request body should contain an array of objects containing the bundle(s) that you want to remove. Please reference the below for a sample payload.
Sample Request Body
Sample Response Body