Skip to content

Prebid 0.4.1 released

Compare
Choose a tag to compare
@mkendall07 mkendall07 released this 16 Nov 21:41
· 8550 commits to master since this release

New Features in this release

  • Sovrn Adapter added (contributed by @pwfsd with support from Sovrn team)
  • [BETA] Analytics data collection and GA adapter added for quick integration

Breaking Change in this release

  • Casale renamed to IndexExchange

How to add bidder Sovrn:

var adUnits = [{
        code: '/9968336/header-bid-tag-0',
        sizes: [[300, 250], [300, 600]],
        bids: [{
            bidder: 'sovrn',
            params: {
                tagid: '123'
            }
        }]
}];

Analytics integration with GA

If your site uses analytics.js collection, a simple toggle will automatically send crucial data points to your account.

Enable GA collection:

ga('create', 'XXXXXX', 'auto');
//Send data from prebid.js automatically 
pbjs.que.push(function() {
    pbjs.enableAnalytics({
        provider: 'ga',
        options: {
            global: 'ga', // <string> name of GA global. Default is 'ga'
            enableDistribution: false, // <bool> enable/disable distribution data (see prebid.org for more information). If you're working with more than 3 bidders, we recommend this flag set to false for the following reason (in notes).
        }
    });
});

Note: GA throttles the max number of requests that can be sent with analytics.js to 20 initial + 2/second. If you're using more than 5 bidders, the GA throttling may prevent some data from being sent. We're implementing a data reporting queue in the next few releases to address this issue. See this link for details on GA's throttling.

Breaking Change: Deprecated bidder name Casale - now called IndexExchange

The bidderCode casale has been updated to indexExchange. Please update your configuration appropriately if using this bidder. Also of note is that IndexExchange will be upgraded to v9 of the their API in the next prebid.js release.

Before

var adUnits = [{
        code: '/9968336/header-bid-tag-0',
        sizes: [[300, 250], [300, 600]],
        bids: [{
            bidder: 'casale',
             params: {
                    slotId: 'TO ADD',    // <String>
                    casaleUrl: 'TO ADD'  //  <String>
                }
        }]
}];

After

var adUnits = [{
        code: 'div-id-header-bid-tag-0',
        sizes: [[300, 250], [300, 600]],
        bids: [{
             bidder: 'indexExchange',
             params: {
                    slotId: 'TO ADD',   // <String>
                    indexUrl: 'TO ADD'  //  <String>
                }
        }]
}];

Bug fixes in this release

  • Fixed issue with YieldBot adapter not sending back bad bids
  • Fixed issue with bidsBackHandler execution timing (#98)
  • Fixed issue with clearing DFP slot targeting (#104)
  • Fixed issue with RefreshBids with adUnitCodes not working correctly (#101)
  • Fixed issue with alwaysUseBid=true not working correctly
  • Other misc bug fixes