Skip to content

Commit

Permalink
Revert "RichAudience Bid Adapter: Update GetFloors (#7664)"
Browse files Browse the repository at this point in the history
This reverts commit 6b027f5.
  • Loading branch information
ChrisHuie authored Nov 10, 2021
1 parent 4809a4e commit 94560ba
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 94560ba

Please sign in to comment.