Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openx Bid Adapter: Add user ID sub-modules to Prebid Openx Adapter #6490

Merged
merged 1 commit into from
Mar 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions modules/openxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,24 @@ export const USER_ID_CODE_TO_QUERY_ARG = {
britepoolid: 'britepoolid', // BritePool ID
criteoId: 'criteoid', // CriteoID
digitrustid: 'digitrustid', // DigiTrust
fabrickId: 'nuestarid', // Fabrick ID by Nuestar
haloId: 'audigentid', // Halo ID from Audigent
id5id: 'id5id', // ID5 ID
idl_env: 'lre', // LiveRamp IdentityLink
IDP: 'zeotapid', // zeotapIdPlus ID+
idxId: 'idxid', // idIDx,
intentIqId: 'intentiqid', // IntentIQ ID
lipb: 'lipbid', // LiveIntent ID
lotamePanoramaId: 'lotameid', // Lotame Panorama ID
merkleId: 'merkleid', // Merkle ID
netId: 'netid', // netID
parrableId: 'parrableid', // Parrable ID
pubcid: 'pubcid', // PubCommon ID
quantcastId: 'quantcastid', // Quantcast ID
sharedId: 'sharedid', // Shared ID User ID
tapadId: 'tapadid', // Tapad Id
tdid: 'ttduuid', // The Trade Desk Unified ID
verizonMediaId: 'verizonmediaid', // Verizon Media ConnectID
};

export const spec = {
Expand Down
11 changes: 11 additions & 0 deletions test/spec/modules/openxBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1044,13 +1044,24 @@ describe('OpenxAdapter', function () {
britepoolid: '1111-britepoolid',
criteoId: '1111-criteoId',
digitrustid: {data: {id: 'DTID', keyv: 4, privacy: {optout: false}, producer: 'ABC', version: 2}},
fabrickId: '1111-fabrickid',
haloId: '1111-haloid',
id5id: {uid: '1111-id5id'},
idl_env: '1111-idl_env',
IDP: '1111-zeotap-idplusid',
idxId: '1111-idxid',
intentIqId: '1111-intentiqid',
lipb: {lipbid: '1111-lipb'},
lotamePanoramaId: '1111-lotameid',
merkleId: '1111-merkleid',
netId: 'fH5A3n2O8_CZZyPoJVD-eabc6ECb7jhxCicsds7qSg',
parrableId: { eid: 'eidVersion.encryptionKeyReference.encryptedValue' },
pubcid: '1111-pubcid',
quantcastId: '1111-quantcastid',
sharedId: '1111-sharedid',
tapadId: '111-tapadid',
tdid: '1111-tdid',
verizonMediaId: '1111-verizonmediaid',
};

// generates the same set of tests for each id provider
Expand Down