Skip to content

Commit

Permalink
Rich Audience Bid Adapter: changes per pr 7664 (prebid#7697)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHuie authored and Chris Pabst committed Jan 10, 2022
1 parent fc31cb1 commit 6cc77ee
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 6cc77ee

Please sign in to comment.