Determine the type of banner and templates that you'll connect the publisher to. If there is no banner type with templates, add it by following these instructions.
Place a campaign and banners that will be displayed on the publisher's side in the created placement.
To check that Header Bidding is configured correctly on the publisher's side, you can do the following:
Make sure that the correct parameters are specified in the Header Bidding settings:
In the browser console on the publisher's site, run the following command:
window.YaHeaderBiddingSettings
The Header Bidding settings object will be displayed in the console.
For the code (container ID on the page) parameter there, find the adUnit that should contain the IDs for calling the monitizer placement.
Make sure that:
The monetizer's login in the bidder parameter is correct: adfox_%bidder-login%.
The IDs in the params parameter match the IDs the monetizer passed to the publisher.
For example:
Make sure that there are no errors in the request and the creative comes with a bid:
Run the following browser console command:
window.Ya.headerBidding.getBidsReceived()
Make sure that a creative with a bid is received for the login and the container from Step 1.
For example:
Check the number of containerId.
Alert
You can specify no more than tencontainerId per monetizer.
Enable custom targeting via Adfox HB
If a monetizer account that uses Adfox HB has custom targeting set up, you need to add the puidN parameters and targeting values to the ad tag, where N is the characteristic number from 1 to 63. The puid parameters are added to the params object in name: value format, where:
name is the parameter name (puidN).
value is the parameter value.
Example of a configuration script with a monetizer that uses Adfox HB and the added puid parameters