Definition
The homepage is the initial landing page of the website. When making API calls for the homepage, the parameters described below should be used.Parameters
event-type
Value: viewHome
Description: Indicates to the API that this is a homepage request.
Required: Yes
page-id
Description: An identifier that tells Criteo which placements to return for the ad request. Placements are instantiated by your Technical Account Manager depending on your desired ad configuration. Below are the standard page-ids for this page type:
- In Americas: Typically follows the structure
[event-type]_API_[environment], e.g.,viewHome_API_desktop,viewHome_API_mobile,viewHome_API_android,viewHome_API_iOS. - In EMEA: Typically follows the structure
[event-type]Api[environment], e.g.,viewHomeApiDesktop,viewHomeApiMobile,viewHomeApiAios,viewHomeApiAa.
Sample Calls
The header values in the sample calls are illustrative. Make sure to replace them with the appropriate values for your implementation.
AMER
EMEA
Mock retailer API response
The API call below will return a response for a mock retailer.You can see an example of the response here.