washingtonpost/ArcAds

Pass additional data to pbjs.setConfig and pbjs.bidderSettings

riccardomel opened this issue · 0 comments

Hi all,
I need to add on prebidjs call some additional params:

pbjs.bidderSettings = {
   onetag:{
      bidCpmAdjustment:function(bidCpm, bid){
          return bidCpm * 0.9;
      }
   },
   criteo:{
      bidCpmAdjustment:function(bidCpm, bid){
          return bidCpm * 1;
      }
   },
};

And:

pbjs.setConfig({
      currency: currencyConfig,
      priceGranularity: granularityConfig,
      consentManagement: iabConfig,
      schain: sChainConfig,
      userSync: userSyncConfig,
   });

Where i can integrate this portions of code correctly? (if it's possibile).

Thanks a lot.