Skip to content

Commit

Permalink
Merge pull request #373 from PubMatic-OpenWrap/staged_nightly
Browse files Browse the repository at this point in the history
OpenWrap Release v18.3.0
  • Loading branch information
pm-shashank-jain authored Feb 17, 2020
2 parents bd65e25 + 04f2e53 commit 1956ed7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/adformBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const OUTSTREAM_RENDERER_URL = 'https://s2.adform.net/banners/scripts/video/outs
const BIDDER_CODE = 'adform';
export const spec = {
code: BIDDER_CODE,
aliases: ['adform2'],
supportedMediaTypes: [ BANNER, VIDEO ],
isBidRequestValid: function (bid) {
return !!(bid.params.mid);
Expand Down
4 changes: 3 additions & 1 deletion modules/customIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ export const customIdSubmodule = {
dta = this.getDataFromCookieName(data.cookieName);
}
} catch (e) {}
return dta;
return {
id: dta
}
}
utils.logError('User ID - FirstPartyId submodule requires either data or cookie name to be defined');
}
Expand Down
1 change: 1 addition & 0 deletions modules/pubmaticBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ function _handleEids(payload, validBidRequests) {
_addExternalUserId(eids, utils.deepAccess(bidRequest, `userId.lipb.lipbid`), 'liveintent.com', 1);
_addExternalUserId(eids, utils.deepAccess(bidRequest, `userId.parrableid`), 'parrable.com', 1);
_addExternalUserId(eids, utils.deepAccess(bidRequest, `userId.britepoolid`), 'britepool.com', 1);
_addExternalUserId(eids, utils.deepAccess(bidRequest, `userId.firstpartyid`), 'firstpartyid', 1);
}
if (eids.length > 0) {
payload.user.eids = eids;
Expand Down

0 comments on commit 1956ed7

Please sign in to comment.