prebid/professor-prebid

Support debug currency

Closed this issue · 2 comments

bretg commented

When setting a debug override, the user can set a CPM value, but can't currently set what currency that CPM is in. Allow the user to set an arbitrary currency code, which is just passed through the setConfig.debugging.

javascript console> pbjs.setConfig({
  debugging: {
    enabled: true,
    bids: [{
      bidder: 'bidderA',
      adUnitCode: '/19968336/header-bid-tag-0',
      cpm: 1.5,
      currency: 'USD',
      adId: '111111',
      ad: '<html><body><img src="https://files.prebid.org/creatives/prebid300x250.png"></body></html>'
    }]
  }
});

mock up
image

added to v. 0.2.49