Skip to content

Commit

Permalink
OpenX Bidder Adapter: Add user ID sub-modules (#6490)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenan-gillet authored Mar 30, 2021
1 parent 971b515 commit dc16781
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
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

0 comments on commit dc16781

Please sign in to comment.