Skip to content

Commit

Permalink
RichAudience Bid Adapter: Update GetFloors (#7664)
Browse files Browse the repository at this point in the history
* Update GetFloors

* Update Strings must use singlequote

* Update push

* Update remove space

* Push Test

* Push Test 2

* New Attempt

* New Attempt 2

* New Attempt 3

* New Attempt 5

Co-authored-by: sgimenez <[email protected]>
  • Loading branch information
richaudience and richaudience authored Nov 9, 2021
1 parent 89f61a7 commit 6b027f5
Show file tree
Hide file tree
Showing 3 changed files with 35,881 additions and 12,632 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: bid.mediaType.banner ? 'banner' : 'video',
mediaType: typeof bid.mediaTypes['banner'] == 'object' ? 'banner' : 'video',
size: '*'
})

Expand Down
Loading

0 comments on commit 6b027f5

Please sign in to comment.