Module Name: Adserver.Online Bidder Adapter
Module Type: Bidder Adapter
Maintainer: [email protected]
Adserver.Online Bidder Adapter for Prebid.js.
For more information, please visit Adserver.Online.
Name | Scope | Description | Example | Type |
---|---|---|---|---|
zone |
required | Zone ID | 73815 |
Integer |
server |
optional | Custom bidder endpoint | https://endpoint.url |
String |
var adUnits = [
{
code: 'banner1',
mediaTypes: {
banner: {
sizes: [[300, 250]],
}
},
bids: [
{
bidder: 'aso',
params: {
zone: 73815
}
}
]
}
];
var videoAdUnit = [
{
code: 'video1',
mediaTypes: {
video: {
mimes: [
"video/mp4"
],
playerSize: [[640, 480]],
context: 'instream' // or 'outstream'
}
},
bids: [{
bidder: 'aso',
params: {
zone: 34668
}
}]
}
];
The Adserver.Online Bid Adapter expects Prebid Cache (for video) to be enabled.
pbjs.setConfig({
cache: {
url: 'https://prebid.adnxs.com/pbc/v1/cache'
}
});