New Features in this release
- [Breaking change] Rubicon adapter update Updated to utilize the Fastlane SDK (contributed by @pdezwart & help from @bretg)
- BRealTime Adapter Adapter included natively with Prebid.js
- Springserve Adapter Adapter added (contributed by @JohnBuonomo)
- Adform Adapter Adapter added (contributed by @braizhas)
- Dev Updates Updated build to included Webpack, Karma, and Istanbul for code coverage
[Breaking change] Rubicon adapter update
Rubicon adapter parameters have been updated to reflect the Fastlane SDK. See below as an example. Also see the table below for matching with the old adapter.
var adUnits = [{
code: '/9968336/header-bid-tag-0',
sizes: [[300, 250], [300, 600]],
bids: [{
accountId: "123", //Required - String id
siteId: "456", //Required - String id
zoneId: "789", //Required - String id
sizes: [15] //optional - array[number] of size key
}]
}];
Original Parameter | Updated Parameter | Scope | Description | Example |
---|---|---|---|---|
rp_account | accountId | required | The publisher account ID | “4934” |
rp_site | siteId | required | The site ID | “13945” |
rp_zonesize | zoneId | required | The zone ID | "23948" |
rp_zonesize | sizes | optional | Array of RubiconProject size IDs | [15] |
How to add bidder BRealTime:
var adUnits = [{
code: '/9968336/header-bid-tag-0',
sizes: [[300, 250], [300, 600]],
bids: [{
bidder: 'brealtime',
params: {
placementId: '2251610'
}
}]
}];
How to add bidder Adform:
var adUnits = [{
code: '/9968336/header-bid-tag-0',
sizes: [[300, 250], [300, 600]],
bids: [{
bidder: 'adform',
params: {
adxDomain: 'adx.adform.net', //optional
mid: 74042
}
}]
}];
How to add bidder Springserve:
var adUnits = [{
code: '/9968336/header-bid-tag-0',
sizes: [[300, 250], [300, 600]],
bids: [{
bidder: 'springserve',
params: {
impId: 1234, //Required - number
supplyPartnerId: 1, //Required - number
}
}]
}];
Dev Update
rm -rf ./node_modules && npm cache clean && npm install
With this commit we have changed the build system to use Webpack, Karma and Istanbul. This change was made to support improved unit test coverage and reporting. Reinstalling Prebid.js is necessary as many node modules changed, and you are likely to experience errors otherwise. After pulling down latest master please rm -rf ./node_modules && npm cache clean && npm install
.
Build path change
The ./dist
and ./dev
directories have been moved to a ./build
directory -- please update your own dev and example paths to prebid.js
accordingly. You will also find code coverage reports in the ./build/coverage
directory.
Criteo Removed
Criteo has requested to temporarily remove the adaptor for further improvements.
Bug fixes in this release
- Fixed issue with timing of bids with Sovrn adapter (contributed by @ojotoxy) (#183)
- Fixed bug when pixel url is
undefined
in adloader.js (contributed by @ericperez) (#172) - Bug fixed for OpenX not recording impressions correctly (contributed by @BartVB) (#191)
- Other misc bug fixes (see the full commit log here: 0.5.0...master)