Module Name: C-WIRE Bid Adapter
Module Type: Bidder Adapter
Maintainer: [email protected]
Prebid.js Adapter for C-Wire.
Below, the list of C-WIRE params and where they can be set.
Param name | URL parameter | AdUnit config | Type | Required |
---|---|---|---|---|
pageId | x | number | NO | |
domainId | x | number | YES | |
placementId | x | number | NO | |
cwgroups | x | string | NO | |
cwcreative | x | string | NO | |
cwdebug | x | boolean | NO | |
cwfeatures | x | string | NO |
var adUnits = [
{
code: 'target_div_id', // REQUIRED
bids: [{
bidder: 'cwire',
mediaTypes: {
banner: {
sizes: [[400, 600]],
}
},
params: {
domainId: 1422, // required - number
placementId: 2211521, // optional - number
}
}]
}
];
// old version for the compatibility
var adUnits = [
{
code: 'target_div_id', // REQUIRED
bids: [{
bidder: 'cwire',
mediaTypes: {
banner: {
sizes: [[400, 600]],
}
},
params: {
pageId: 1422, // required - number
placementId: 2211521, // required - number
}
}]
}
];
For debugging and testing purposes url parameters can be set.
Example:
https://www.some-site.com/article.html?cwdebug=true&cwfeatures=feature1,feature2&cwcreative=1234