This patch release contains some important updates.
Also as additional adapters are added it is not recommended to build and run Prebid.js with all available adapters. Therefore we are moving the latest CDN hosted version to a ./not-for-prod/.prebid.js
path.
Production implementations should build from source with only required adapters or customize the Prebid.js build easily using the Download page: http://prebid.org/download.html
New Features
- New API method
pbjs.enableSendAllBids()
set Prebid to send targeting keys for all bidders to ad server - Add bidFloor parameter for AOL adapter #324 contributed by @kizzard
New API method pbjs.enableSendAllBids()
pbjs.enableSendAllBids()
can be called from the implementation page which will set Prebid to include targeting information for each bidder returned in a call to requestBids()
when making an ad server request. This call needs to be made before the call to pbjs.setTargetingForGPTAsync()
.
Targeting key/pairs would then look like this:
{
"hb_bidder": "appnexus",
"hb_adid": "191f4aca0c0be8",
"hb_pb": "10.00",
"hb_size": "300x250",
"hb_bidder_springserve": "springserve",
"hb_adid_springserve": "129a7ed7a6fb40e",
"hb_pb_springserve": "10.00",
"hb_size_springserve": "300x250",
"hb_bidder_triplelift": "triplelift",
"hb_adid_triplelift": "1663076dadb443d",
"hb_pb_triplelift": "10.00",
"hb_size_triplelift": "0x0",
"hb_bidder_appnexus": "appnexus",
"hb_adid_appnexus": "191f4aca0c0be8",
"hb_pb_appnexus": "10.00",
"hb_size_appnexus": "300x250",
"hb_bidder_pagescience": "pagescience",
"hb_adid_pagescience": "2024c6abebaa183",
"hb_pb_pagescience": "10.00",
"hb_size_pagescience": "300x250",
}
any custom targeting will continue to take precedence over defaults.
Add bidfloor parameter for AOL adapter
The AOL adapter now accepts a bidfloor
param as:
{
bidder: 'aol',
params: {
network: '1234',
placement: 45656,
bidFloor : '10' // String - optional bid floor amount in dollars
}
}
Bug fixes in this release
- #323 Patch indexExchange adapter to allow more than 20 slots to be requested (contributed by @indexexchange)
- #325 Use
package.json
to populate version information (contributed by @steven-hadfield) - #318 Remove unneeded variable (contributed by @mmilleruva)
- commit log here: 0.8.0...0.8.1)