Skip to content

Commit

Permalink
Revert "RichAudience Bid Adapter: Update GetFloors (prebid#7664)" (pr…
Browse files Browse the repository at this point in the history
…ebid#7695)

This reverts commit 6b027f5.
  • Loading branch information
ChrisHuie authored and Chris Pabst committed Jan 10, 2022
1 parent 61d5bb3 commit 8637e75
Show file tree
Hide file tree
Showing 3 changed files with 16,259 additions and 39,508 deletions.
2 changes: 1 addition & 1 deletion modules/richaudienceBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function raiGetFloor(bid, config) {
} else if (typeof bid.getFloor == 'function') {
let floorSpec = bid.getFloor({
currency: config.getConfig('currency.adServerCurrency'),
mediaType: typeof bid.mediaTypes['banner'] == 'object' ? 'banner' : 'video',
mediaType: bid.mediaType.banner ? 'banner' : 'video',
size: '*'
})

Expand Down
Loading

0 comments on commit 8637e75

Please sign in to comment.