There are 3 ad slots. Two of them regular banner slots (300x250, 728x90) and one an adaptive ad slot, which is configured as an out of page ad unit in DFP
This page is connected to a test bidder that will bid for these ad units. You will see an C1X ad if the bidder responded in time. The test bidder which may occasionally take more time to respond.
The adaptive tag is configured in the Prebid settings as shown below. We need to tell the C1X adapter which ad slot(s) would display the adaptive tags. These ad slots should be configured as out of page ad units in DFP. The adaptive tag is then fetched via the web service call and then if it is a winning bid, will be displayed via DFP.
pbjs.bidderSettings = {
'c1x': {
pixelId: 99999,
siteId: 999,
adaptive: ['div-gpt-ad-1493415746596-0'],
endpoint: 'http://ht-integration.c1exchange.com:9000/ht',
adserverTargeting: [{
key: "hb_bidder",
val: function(bidResponse) {
return bidResponse.bidderCode;
}
}, {
key: "hb_adid",
val: function(bidResponse) {
return bidResponse.adId;
}
}, {
key: "hb_pb",
val: function(bidResponse) {
return bidResponse.pbLg;
}
}]
}
};