From a6d8a55830d33b7a6906ceec76310b24a590acb9 Mon Sep 17 00:00:00 2001 From: Kenan Gillet Date: Fri, 12 Mar 2021 11:10:00 -0800 Subject: [PATCH] PBID-979: Add user ID sub-modules to Prebid Openx Adapter --- modules/openxBidAdapter.js | 11 +++++++++++ test/spec/modules/openxBidAdapter_spec.js | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/modules/openxBidAdapter.js b/modules/openxBidAdapter.js index 7b4722e3371..fa65abdc56b 100644 --- a/modules/openxBidAdapter.js +++ b/modules/openxBidAdapter.js @@ -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 = { diff --git a/test/spec/modules/openxBidAdapter_spec.js b/test/spec/modules/openxBidAdapter_spec.js index 28984bc4a44..c8c92392ff2 100644 --- a/test/spec/modules/openxBidAdapter_spec.js +++ b/test/spec/modules/openxBidAdapter_spec.js @@ -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