npm prebid.js 0.13.1
Prebid 0.13.1 Release

latest releases: 9.19.0, 9.18.0, 9.17.0...
8 years ago

New Features

adUnit.sizeMapping

  • Prebid.js now supports variable sizing based on device width detected.
    -Example configuration:
var adUnit = {
  code: 'code',
  sizeMapping: [  //new!
    {
      minWidth : 1024,  //if device screen width is greater than 1024, use these sizes
      sizes : [[300,250],[728,90]]
    },
    {
      minWidth : 480,  //if device screen width is < 1024 && > 480, use these sizes
      sizes : [120,60]
    },
    {
      minWidth : 0,  //if device screen width is < 480 && > 0, use these sizes
      sizes : [20,20]
    }
  ],
  bids: [...]
}

-If sizeMapping is defined, then using adUnit.size param is optional. If device screen width is not able to be determined, the adUnit.size will be used.

New Adapters

DefyMedia

DefyMedia is available as a AppNexus aliased bidder.

{
    bidder: 'defymedia',
    params: {
      placementId : '12345',
    }
}

Maintenance

Bug Fixes

Commit Log

Don't miss a new prebid.js release

NewReleases is sending notifications on new releases.