gulp build --modules="adnuntiusRtdProvider,adnuntiusBidAdapter,..."
setConfig
to instruct Prebid.js to initilize the adnuntius module, as specified below.This module is configured as part of the realTimeData.dataProviders
var pbjs = pbjs || { que: [] }
pbjs.que.push(function () {
pbjs.setConfig({
realTimeData: {
auctionDelay: 300,
dataProviders: [
{
name: 'adnuntius',
waitForIt: true,
params: {
bidders: ['adnuntius'],
providers: [
{
siteId: 'site123',
userId: 'user123',
},
],
},
},
],
},
})
})
Syntax details:
Name | Type | Description | Notes |
---|---|---|---|
name | String | Real time data module name | Always ‘adnuntius’ |
waitForIt | Boolean | Should be true if there’s an auctionDelay defined (optional) |
false |
params | Object | ||
params.bidders | Array | A list of bidders that the module should affect | |
params.bidders | Array | An array of users users and site ID that to send to Adnuntius data |