Module Name: AdDefend Bid Adapter
Module Type: Bidder Adapter
Maintainer: [email protected]
Module that connects to AdDefend as a demand source.
Param | Description | Optional | Default |
---|---|---|---|
pageId | id assigned to the website in the AdDefend system. (ask AdDefend support) | no | - |
placementId | id of the placement in the AdDefend system. (ask AdDefend support) | no | - |
trafficTypes | comma seperated list of the following traffic types: ADBLOCK - user has a activated adblocker PM - user has firefox private mode activated NC - user has not given consent NONE - user traffic is none of the above, this usually means this is a "normal" user. |
yes | ADBLOCK |
var adUnits = [
{
code: 'test-div',
mediaTypes: {
banner: {
sizes: [[970, 250]], // a display size
}
},
bids: [
{
bidder: "addefend",
params: {
pageId: "887",
placementId: "9398",
trafficTypes: "ADBLOCK"
}
}
]
}
];