Skip to content

Commit

Permalink
Rich Audience Bid Adapter: changes per pr 7664 (#7697)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHuie authored Nov 16, 2021
1 parent 5d70ca5 commit c9823f6
Showing 1 changed file with 1 addition and 1 deletion.
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: bid.mediaType.banner ? 'banner' : 'video',
mediaType: typeof bid.mediaTypes['banner'] == 'object' ? 'banner' : 'video',
size: '*'
})

Expand Down

0 comments on commit c9823f6

Please sign in to comment.