Skip to content

Commit

Permalink
RichaudienceBidAdapter: Change currency floor module (#8018)
Browse files Browse the repository at this point in the history
* RichaudienceBidAdapter: Change currency floor module

* New Atempt

* new Atempt

* new Atempt

* remove single quotes

Co-authored-by: sgimenez <sergi.gimenez@richaudience.com>
  • Loading branch information
richaudience and richaudience authored Feb 9, 2022
1 parent 81eae0b commit 37a68a8
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 @@ -300,7 +300,7 @@ function raiGetFloor(bid, config) {
raiFloor = bid.params.bidfloor;
} else if (typeof bid.getFloor == 'function') {
let floorSpec = bid.getFloor({
currency: config.getConfig('currency.adServerCurrency'),
currency: config.getConfig('floors.data.currency') != null ? config.getConfig('floors.data.currency') : 'USD',
mediaType: typeof bid.mediaTypes['banner'] == 'object' ? 'banner' : 'video',
size: '*'
})
Expand Down

0 comments on commit 37a68a8

Please sign in to comment.