Skip to content

Commit

Permalink
Vidazoo Bid Adapter : rector gpid value assignment (prebid#11491)
Browse files Browse the repository at this point in the history
* Refactor gpid value assignment in vidazooBidAdapter.

* Refactor gpid value assignment in vidazooBidAdapter.
  • Loading branch information
saar120 authored and DecayConstant committed Jul 18, 2024
1 parent 3438aeb commit 0469d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/vidazooBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function buildRequestData(bid, topWindowUrl, sizes, bidderRequest, bidderTimeout
const ptrace = getCacheOpt();
const isStorageAllowed = bidderSettings.get(BIDDER_CODE, 'storageAllowed');

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', '');
const cat = deepAccess(bidderRequest, 'ortb2.site.cat', []);
const pagecat = deepAccess(bidderRequest, 'ortb2.site.pagecat', []);
const contentData = deepAccess(bidderRequest, 'ortb2.site.content.data', []);
Expand Down

0 comments on commit 0469d93

Please sign in to comment.