From 37a68a88a11e7debd4b980693dc4293441ccb451 Mon Sep 17 00:00:00 2001 From: Rich Audience Date: Wed, 9 Feb 2022 19:29:49 +0100 Subject: [PATCH] RichaudienceBidAdapter: Change currency floor module (#8018) * RichaudienceBidAdapter: Change currency floor module * New Atempt * new Atempt * new Atempt * remove single quotes Co-authored-by: sgimenez --- modules/richaudienceBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/richaudienceBidAdapter.js b/modules/richaudienceBidAdapter.js index f90bfd117ac..ac92756d9d3 100755 --- a/modules/richaudienceBidAdapter.js +++ b/modules/richaudienceBidAdapter.js @@ -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: '*' })