Skip to content

Prebid 0.13.1 Release

Choose a tag to compare

@mkendall07 mkendall07 released this 03 Oct 14:40
· 10153 commits to master since this release

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