Skip to content

Commit

Permalink
Refactor gpid extraction logic. (#11492)
Browse files Browse the repository at this point in the history
  • Loading branch information
saar120 committed May 15, 2024
1 parent f47540b commit 7a507b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kueezRtbBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function buildRequest(bid, topWindowUrl, sizes, bidderRequest, bidderTimeout) {
const pId = extractPID(params);
const subDomain = extractSubDomain(params);

const gpid = deepAccess(bid, 'ortb2Imp.ext.gpid', deepAccess(bid, 'ortb2Imp.ext.data.pbadslot', ''));
const gpid = deepAccess(bid, 'ortb2Imp.ext.gpid') || deepAccess(bid, 'ortb2Imp.ext.data.pbadslot', '');

if (isFn(bid.getFloor)) {
const floorInfo = bid.getFloor({
Expand Down

0 comments on commit 7a507b7

Please sign in to comment.