/
Header-Bidding Integration (recommended integration)

Header-Bidding Integration (recommended integration)

To make the ad tag header-bidding capable an additional json parameter must be insertedĀ ā†’ rtc-config

Within the rtc-config, the individual vendors that we need for programmatic marketing are connected. The integration then looks like this:

< amp-ad Ā  width = 336 Ā  height = 600
type = "doubleclick"
data-slotĀ =Ā "/AdserverID/WebPageKey/Channel/ContentTyp/AdPosition"
data-override-width = "336"
data-override-height = "600"
data-multi-size = "300x600,336x280,300x250,300x150,300x100,300x75,300x50,320x250,320x150,320x100,320x75,320x50"
data-multi-size-validation= "false"
jsonĀ =Ā '{"targeting":{"ad_position":"<pass ad position value from data-slot>","sitename":"<pass WebpageKey value from data-slot>","channel":"<pass channel value from data-slot>","contenttype":"<pass ContentTypeĀ value from data-slot>","adkeyword":"<custom value>","pageid":"<pass unique page id >"}}'Ā >
rtc-config='{
"vendors" : {
"criteo" : { "NETWORK_ID" : 6507},
"indexexchange" : { "SITE_ID" :Ā  "xxxxxx" },
"aps" : { "PUB_ID" :Ā  "3690" },
"yieldlab" : { "ADSLOT_ID" :Ā  "xxxxxx" },
"yieldlab" : { "ADSLOT_ID" :Ā  "xxxxxx" }
},
"timeoutMillis" : 500}'>
</amp-ad>

Ā 

The timeout in milliseconds must also be defined via theĀ "timeoutMillis" parameter. We recommend a value between 500-1000

Necessary IDs forĀ indexexchange and yieldlab, issued by ATF and differ per website. Please ask your responsible contact person.

Ā 

Related content