Skip to content

Commit

Permalink
Rubicon. bugfix for singleRequest config regression (prebid#9050)
Browse files Browse the repository at this point in the history
* fix rubicon singleRequest config regression prebid#9049

* manually kick off testing

Co-authored-by: Chris Huie <phoenixtechnerd@gmail.com>
  • Loading branch information
2 people authored and jorgeluisrocha committed May 18, 2023
1 parent 759093a commit 5836ec9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/rubiconBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export const spec = {
}
});

if (rubiConf.singleRequest !== true) {
if (config.getConfig('rubicon.singleRequest') !== true) {
// bids are not grouped if single request mode is not enabled
requests = videoRequests.concat(bidRequests.filter(bidRequest => bidType(bidRequest) === 'banner').map(bidRequest => {
const bidParams = spec.createSlotParams(bidRequest, bidderRequest);
Expand Down Expand Up @@ -1276,8 +1276,7 @@ export function hasValidSupplyChainParams(schain) {
}

/**
* Creates a URL key value param, encoding the
* param unless the key is schain
* Creates a URL key value param, encoding the param unless the key is schain
* @param {String} key
* @param {String} param
* @returns {String}
Expand Down

0 comments on commit 5836ec9

Please sign in to comment.