Module Name: OptiDigital Bidder Adapter
Module Type: Bidder Adapter
Maintainer: [email protected]
Bidder Adapter for Prebid.js.
var adUnits = [{
code: 'your-slot_1-div', //use exactly the same code as your slot div id.
mediaTypes: {
banner: {
sizes: [[300,600]]
}
},
bids: [{
bidder: 'optidigital',
params: {
publisherId: 'test',
placementId: 'Billboard_Top',
divId: 'Billboard_Top_3c5425', // optional parameter
pageTemplate: 'home', // optional parameter
badv: ['example.com'], // optional parameter
bcat: ['IAB1-1'], // optional parameter
bapp: ['com.blocked'], // optional parameter
battr: [1, 2] // optional parameter
}
}]
}];
pbjs.setConfig({
userSync: {
filterSettings: {
iframe: {
bidders: '*', // '*' represents all bidders
filter: 'include'
}
}
}
});