prebid.js 7.43.0 → 7.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/33acrossBidAdapter.js +1 -1
- package/dist/33acrossIdSystem.js +1 -1
- package/dist/acuityAdsBidAdapter.js +1 -1
- package/dist/adagioBidAdapter.js +1 -1
- package/dist/adbookpspBidAdapter.js +1 -1
- package/dist/adgenerationBidAdapter.js +1 -1
- package/dist/adkernelAdnAnalyticsAdapter.js +1 -1
- package/dist/admixerIdSystem.js +1 -1
- package/dist/adnuntiusBidAdapter.js +1 -1
- package/dist/adqueryBidAdapter.js +1 -1
- package/dist/adqueryIdSystem.js +1 -1
- package/dist/adrelevantisBidAdapter.js +1 -1
- package/dist/adrinoBidAdapter.js +1 -1
- package/dist/adriverIdSystem.js +1 -1
- package/dist/adsinteractiveBidAdapter.js +1 -0
- package/dist/adtrgtmeBidAdapter.js +1 -1
- package/dist/adxcgBidAdapter.js +1 -1
- package/dist/adyoulikeBidAdapter.js +1 -1
- package/dist/aidemBidAdapter.js +1 -1
- package/dist/airgridRtdProvider.js +1 -1
- package/dist/ajaBidAdapter.js +1 -1
- package/dist/akamaiDapRtdProvider.js +1 -1
- package/dist/amxBidAdapter.js +1 -1
- package/dist/amxIdSystem.js +1 -1
- package/dist/appierAnalyticsAdapter.js +1 -1
- package/dist/appnexusBidAdapter.js +1 -1
- package/dist/appushBidAdapter.js +1 -1
- package/dist/apstreamBidAdapter.js +1 -1
- package/dist/asoBidAdapter.js +1 -1
- package/dist/atsAnalyticsAdapter.js +1 -1
- package/dist/audiencerunBidAdapter.js +1 -1
- package/dist/axonixBidAdapter.js +1 -1
- package/dist/bedigitechBidAdapter.js +1 -0
- package/dist/beyondmediaBidAdapter.js +1 -1
- package/dist/bidglassBidAdapter.js +1 -1
- package/dist/big-richmediaBidAdapter.js +1 -1
- package/dist/bluebillywigBidAdapter.js +1 -1
- package/dist/blueconicRtdProvider.js +1 -1
- package/dist/braveBidAdapter.js +1 -1
- package/dist/bridgewellBidAdapter.js +1 -1
- package/dist/brightMountainMediaBidAdapter.js +1 -1
- package/dist/brightcomBidAdapter.js +1 -1
- package/dist/brightcomSSPBidAdapter.js +1 -1
- package/dist/browsiRtdProvider.js +1 -1
- package/dist/byDataAnalyticsAdapter.js +1 -1
- package/dist/carodaBidAdapter.js +1 -1
- package/dist/chtnwBidAdapter.js +1 -1
- package/dist/coinzillaBidAdapter.js +1 -1
- package/dist/compassBidAdapter.js +1 -1
- package/dist/concertBidAdapter.js +1 -1
- package/dist/connectIdSystem.js +1 -1
- package/dist/connectadBidAdapter.js +1 -1
- package/dist/consumableBidAdapter.js +1 -1
- package/dist/contentexchangeBidAdapter.js +1 -1
- package/dist/conversantAnalyticsAdapter.js +1 -1
- package/dist/conversantBidAdapter.js +1 -1
- package/dist/craftBidAdapter.js +1 -1
- package/dist/criteoBidAdapter.js +1 -1
- package/dist/criteoIdSystem.js +1 -1
- package/dist/cwireBidAdapter.js +1 -1
- package/dist/czechAdIdSystem.js +1 -1
- package/dist/dacIdSystem.js +1 -1
- package/dist/deepintentDpesIdSystem.js +1 -1
- package/dist/dependencies.json +15 -0
- package/dist/discoveryBidAdapter.js +1 -1
- package/dist/domainOverrideToRootDomain.js +1 -0
- package/dist/dspxBidAdapter.js +1 -1
- package/dist/eplanningBidAdapter.js +1 -1
- package/dist/feedadBidAdapter.js +1 -1
- package/dist/finativeBidAdapter.js +1 -1
- package/dist/fintezaAnalyticsAdapter.js +1 -1
- package/dist/fledgeForGpt.js +1 -1
- package/dist/freewheel-sspBidAdapter.js +1 -1
- package/dist/ftrackIdSystem.js +1 -1
- package/dist/gdprEnforcement.js +1 -1
- package/dist/glimpseBidAdapter.js +1 -1
- package/dist/globalsunBidAdapter.js +1 -1
- package/dist/gmosspBidAdapter.js +1 -1
- package/dist/gnetBidAdapter.js +1 -1
- package/dist/goldbachBidAdapter.js +1 -1
- package/dist/gravitoIdSystem.js +1 -1
- package/dist/greenbidsAnalyticsAdapter.js +1 -0
- package/dist/gridBidAdapter.js +1 -1
- package/dist/gridNMBidAdapter.js +1 -1
- package/dist/growthCodeAnalyticsAdapter.js +1 -1
- package/dist/growthCodeIdSystem.js +1 -1
- package/dist/gumgumBidAdapter.js +1 -1
- package/dist/h12mediaBidAdapter.js +1 -1
- package/dist/hadronAnalyticsAdapter.js +1 -1
- package/dist/hadronIdSystem.js +1 -1
- package/dist/hadronRtdProvider.js +1 -1
- package/dist/id5IdSystem.js +1 -1
- package/dist/idWardRtdProvider.js +1 -1
- package/dist/identityLinkIdSystem.js +1 -1
- package/dist/idxIdSystem.js +1 -1
- package/dist/imRtdProvider.js +1 -1
- package/dist/impactifyBidAdapter.js +1 -1
- package/dist/improvedigitalBidAdapter.js +1 -1
- package/dist/imuIdSystem.js +1 -1
- package/dist/inmarBidAdapter.js +1 -1
- package/dist/insticatorBidAdapter.js +1 -1
- package/dist/intentIqIdSystem.js +1 -1
- package/dist/invibesBidAdapter.js +1 -1
- package/dist/iqzoneBidAdapter.js +1 -1
- package/dist/ivsBidAdapter.js +1 -0
- package/dist/ixBidAdapter.js +1 -1
- package/dist/jixieBidAdapter.js +1 -1
- package/dist/justpremiumBidAdapter.js +1 -1
- package/dist/jwplayerVideoProvider.js +1 -1
- package/dist/kargoBidAdapter.js +1 -1
- package/dist/koblerBidAdapter.js +1 -1
- package/dist/konduitAnalyticsAdapter.js +1 -1
- package/dist/kueezBidAdapter.js +1 -1
- package/dist/kueezRtbBidAdapter.js +1 -1
- package/dist/kulturemediaBidAdapter.js +1 -1
- package/dist/lassoBidAdapter.js +1 -1
- package/dist/lifestreetBidAdapter.js +1 -1
- package/dist/liveIntentIdSystem.js +1 -1
- package/dist/liveyieldAnalyticsAdapter.js +1 -1
- package/dist/logicadBidAdapter.js +1 -1
- package/dist/loglyliftBidAdapter.js +1 -1
- package/dist/lotamePanoramaIdSystem.js +1 -1
- package/dist/luponmediaBidAdapter.js +1 -1
- package/dist/magniteAnalyticsAdapter.js +1 -1
- package/dist/malltvAnalyticsAdapter.js +1 -1
- package/dist/marsmediaBidAdapter.js +1 -1
- package/dist/mathildeadsBidAdapter.js +1 -1
- package/dist/mediafuseBidAdapter.js +1 -1
- package/dist/mediagoBidAdapter.js +1 -1
- package/dist/mediakeysBidAdapter.js +1 -1
- package/dist/medianetBidAdapter.js +1 -1
- package/dist/mediasquareBidAdapter.js +1 -1
- package/dist/merkleIdSystem.js +1 -1
- package/dist/mgidBidAdapter.js +1 -1
- package/dist/mgidRtdProvider.js +1 -1
- package/dist/minutemediaBidAdapter.js +1 -1
- package/dist/minutemediaplusBidAdapter.js +1 -1
- package/dist/mwOpenLinkIdSystem.js +1 -1
- package/dist/naveggIdSystem.js +1 -1
- package/dist/nexx360BidAdapter.js +1 -1
- package/dist/nobidBidAdapter.js +1 -1
- package/dist/not-for-prod/prebid.js +232 -227
- package/dist/novatiqIdSystem.js +1 -1
- package/dist/oguryBidAdapter.js +1 -1
- package/dist/onetagBidAdapter.js +1 -1
- package/dist/onomagicBidAdapter.js +1 -1
- package/dist/ooloAnalyticsAdapter.js +1 -1
- package/dist/openxBidAdapter.js +1 -1
- package/dist/openxOrtbBidAdapter.js +1 -1
- package/dist/operaadsBidAdapter.js +1 -1
- package/dist/optidigitalBidAdapter.js +1 -1
- package/dist/ortbConverter.js +1 -1
- package/dist/outbrainBidAdapter.js +1 -1
- package/dist/parrableIdSystem.js +1 -1
- package/dist/permutiveRtdProvider.js +1 -1
- package/dist/pixfutureBidAdapter.js +1 -1
- package/dist/prebid-core.js +1 -1
- package/dist/prebidServerBidAdapter.js +1 -1
- package/dist/prebidmanagerAnalyticsAdapter.js +1 -1
- package/dist/pubCommonId.js +1 -1
- package/dist/publinkIdSystem.js +1 -1
- package/dist/pubmaticAnalyticsAdapter.js +1 -1
- package/dist/pubmaticBidAdapter.js +1 -1
- package/dist/pubwiseAnalyticsAdapter.js +1 -1
- package/dist/pubxBidAdapter.js +1 -1
- package/dist/pxyzBidAdapter.js +1 -1
- package/dist/quantcastBidAdapter.js +1 -1
- package/dist/quantcastIdSystem.js +1 -1
- package/dist/readpeakBidAdapter.js +1 -1
- package/dist/realvuAnalyticsAdapter.js +1 -1
- package/dist/relaidoBidAdapter.js +1 -1
- package/dist/rhythmoneBidAdapter.js +1 -1
- package/dist/riseBidAdapter.js +1 -1
- package/dist/roxotAnalyticsAdapter.js +1 -1
- package/dist/rtbhouseBidAdapter.js +1 -1
- package/dist/rtdModule.js +1 -1
- package/dist/rubiconAnalyticsAdapter.js +1 -1
- package/dist/rubiconBidAdapter.js +1 -1
- package/dist/seedingAllianceBidAdapter.js +1 -1
- package/dist/seedtagBidAdapter.js +1 -1
- package/dist/sharedIdSystem.js +1 -1
- package/dist/sharethroughAnalyticsAdapter.js +1 -1
- package/dist/sharethroughBidAdapter.js +1 -1
- package/dist/shinezBidAdapter.js +1 -1
- package/dist/sigmoidAnalyticsAdapter.js +1 -1
- package/dist/smaatoBidAdapter.js +1 -1
- package/dist/smartadserverBidAdapter.js +1 -1
- package/dist/smarthubBidAdapter.js +1 -1
- package/dist/smartxBidAdapter.js +1 -1
- package/dist/smilewantedBidAdapter.js +1 -1
- package/dist/sonobiBidAdapter.js +1 -1
- package/dist/sovrnAnalyticsAdapter.js +1 -1
- package/dist/sovrnBidAdapter.js +1 -1
- package/dist/sspBCBidAdapter.js +1 -1
- package/dist/staqAnalyticsAdapter.js +1 -1
- package/dist/stroeerCoreBidAdapter.js +1 -1
- package/dist/stvBidAdapter.js +1 -1
- package/dist/sublimeBidAdapter.js +1 -1
- package/dist/synacormediaBidAdapter.js +1 -1
- package/dist/taboolaBidAdapter.js +1 -1
- package/dist/targetVideoBidAdapter.js +1 -1
- package/dist/teadsBidAdapter.js +1 -1
- package/dist/teadsIdSystem.js +1 -1
- package/dist/trionBidAdapter.js +1 -1
- package/dist/tripleliftBidAdapter.js +1 -1
- package/dist/truereachBidAdapter.js +1 -1
- package/dist/trustpidSystem.js +1 -1
- package/dist/ttdBidAdapter.js +1 -1
- package/dist/ucfunnelAnalyticsAdapter.js +1 -1
- package/dist/uid2IdSystem.js +1 -1
- package/dist/underdogmediaBidAdapter.js +1 -1
- package/dist/undertoneBidAdapter.js +1 -1
- package/dist/userId.js +1 -1
- package/dist/validationFpdModule.js +1 -1
- package/dist/vidazooBidAdapter.js +1 -1
- package/dist/videobyteBidAdapter.js +1 -1
- package/dist/videoheroesBidAdapter.js +1 -1
- package/dist/vidoomyBidAdapter.js +1 -1
- package/dist/visiblemeasuresBidAdapter.js +1 -1
- package/dist/visxBidAdapter.js +1 -1
- package/dist/vrtcalBidAdapter.js +1 -1
- package/dist/vuukleBidAdapter.js +1 -1
- package/dist/weboramaRtdProvider.js +1 -1
- package/dist/widespaceBidAdapter.js +1 -1
- package/dist/winrBidAdapter.js +1 -1
- package/dist/yahoosspBidAdapter.js +1 -1
- package/dist/yieldmoBidAdapter.js +1 -1
- package/dist/yieldoneAnalyticsAdapter.js +1 -1
- package/dist/yieldoneBidAdapter.js +1 -1
- package/dist/yuktamediaAnalyticsAdapter.js +1 -1
- package/dist/zeotapIdPlusIdSystem.js +1 -1
- package/dist/zeta_global_sspBidAdapter.js +1 -1
- package/libraries/domainOverrideToRootDomain/index.js +39 -0
- package/libraries/ortbConverter/converter.js +3 -2
- package/modules/33acrossIdSystem.js +5 -2
- package/modules/acuityAdsBidAdapter.js +1 -1
- package/modules/adagioBidAdapter.js +3 -4
- package/modules/adkernelAdnAnalyticsAdapter.js +4 -2
- package/modules/admixerIdSystem.js +4 -2
- package/modules/adnuntiusBidAdapter.js +1 -1
- package/modules/adqueryBidAdapter.js +1 -1
- package/modules/adqueryIdSystem.js +2 -1
- package/modules/adrinoBidAdapter.js +24 -16
- package/modules/adriverIdSystem.js +3 -2
- package/modules/adsinteractiveBidAdapter.js +144 -0
- package/modules/adsinteractiveBidAdapter.md +31 -0
- package/modules/adyoulikeBidAdapter.js +2 -3
- package/modules/aidemBidAdapter.js +5 -0
- package/modules/airgridRtdProvider.js +4 -2
- package/modules/ajaBidAdapter.js +38 -16
- package/modules/akamaiDapRtdProvider.js +2 -1
- package/modules/amxBidAdapter.js +12 -10
- package/modules/amxIdSystem.js +23 -20
- package/modules/amxIdSystem.md +7 -7
- package/modules/appnexusBidAdapter.js +8 -8
- package/modules/appushBidAdapter.js +1 -1
- package/modules/apstreamBidAdapter.js +1 -1
- package/modules/atsAnalyticsAdapter.js +4 -2
- package/modules/audiencerunBidAdapter.js +9 -10
- package/modules/bedigitechBidAdapter.js +67 -0
- package/modules/bedigitechBidAdapter.md +32 -0
- package/modules/beyondmediaBidAdapter.js +1 -1
- package/modules/bluebillywigBidAdapter.js +2 -4
- package/modules/blueconicRtdProvider.js +2 -1
- package/modules/braveBidAdapter.js +1 -1
- package/modules/brightcomBidAdapter.js +1 -2
- package/modules/brightcomSSPBidAdapter.js +1 -2
- package/modules/browsiRtdProvider.js +4 -2
- package/modules/byDataAnalyticsAdapter.js +6 -3
- package/modules/coinzillaBidAdapter.js +1 -2
- package/modules/compassBidAdapter.js +1 -1
- package/modules/concertBidAdapter.js +14 -7
- package/modules/connectIdSystem.js +96 -21
- package/modules/connectIdSystem.md +6 -5
- package/modules/connectadBidAdapter.js +2 -4
- package/modules/contentexchangeBidAdapter.js +1 -1
- package/modules/craftBidAdapter.js +29 -24
- package/modules/criteoBidAdapter.js +4 -2
- package/modules/criteoIdSystem.js +6 -2
- package/modules/czechAdIdSystem.js +3 -2
- package/modules/dacIdSystem.js +4 -3
- package/modules/deepintentDpesIdSystem.js +3 -2
- package/modules/discoveryBidAdapter.js +1 -1
- package/modules/dspxBidAdapter.js +223 -15
- package/modules/fintezaAnalyticsAdapter.js +5 -3
- package/modules/fledgeForGpt.js +54 -6
- package/modules/freewheel-sspBidAdapter.js +8 -0
- package/modules/ftrackIdSystem.js +6 -6
- package/modules/gdprEnforcement.js +56 -68
- package/modules/glimpseBidAdapter.js +2 -6
- package/modules/globalsunBidAdapter.js +1 -1
- package/modules/gnetBidAdapter.js +1 -2
- package/modules/gravitoIdSystem.js +5 -3
- package/modules/greenbidsAnalyticsAdapter.js +181 -0
- package/modules/greenbidsAnalyticsAdapter.md +23 -0
- package/modules/gridBidAdapter.js +14 -8
- package/modules/gridNMBidAdapter.js +1 -1
- package/modules/growthCodeAnalyticsAdapter.js +3 -2
- package/modules/growthCodeIdSystem.js +21 -17
- package/modules/gumgumBidAdapter.js +8 -18
- package/modules/hadronAnalyticsAdapter.js +5 -3
- package/modules/hadronIdSystem.js +3 -1
- package/modules/hadronRtdProvider.js +4 -2
- package/modules/id5IdSystem.js +4 -2
- package/modules/idWardRtdProvider.js +2 -1
- package/modules/identityLinkIdSystem.js +5 -2
- package/modules/idxIdSystem.js +3 -2
- package/modules/imRtdProvider.js +3 -1
- package/modules/impactifyBidAdapter.js +2 -4
- package/modules/imuIdSystem.js +6 -3
- package/modules/insticatorBidAdapter.js +1 -1
- package/modules/intentIqIdSystem.js +3 -2
- package/modules/invibesBidAdapter.js +1 -1
- package/modules/iqzoneBidAdapter.js +1 -1
- package/modules/ivsBidAdapter.js +85 -0
- package/modules/ivsBidAdapter.md +34 -0
- package/modules/ixBidAdapter.js +43 -106
- package/modules/jixieBidAdapter.js +3 -6
- package/modules/jwplayerVideoProvider.js +25 -32
- package/modules/kargoBidAdapter.js +1 -1
- package/modules/koblerBidAdapter.js +1 -2
- package/modules/kueezBidAdapter.js +1 -1
- package/modules/kueezRtbBidAdapter.js +1 -1
- package/modules/liveIntentIdSystem.js +11 -2
- package/modules/lotamePanoramaIdSystem.js +3 -2
- package/modules/luponmediaBidAdapter.js +1 -1
- package/modules/magniteAnalyticsAdapter.js +101 -9
- package/modules/mathildeadsBidAdapter.js +1 -1
- package/modules/mediafuseBidAdapter.js +1 -1
- package/modules/mediagoBidAdapter.js +1 -1
- package/modules/mediakeysBidAdapter.js +2 -3
- package/modules/medianetBidAdapter.js +1 -1
- package/modules/merkleIdSystem.js +2 -1
- package/modules/mgidBidAdapter.js +179 -27
- package/modules/mgidRtdProvider.js +3 -1
- package/modules/minutemediaBidAdapter.js +1 -1
- package/modules/minutemediaplusBidAdapter.js +1 -1
- package/modules/mwOpenLinkIdSystem.js +3 -2
- package/modules/naveggIdSystem.js +3 -2
- package/modules/nexx360BidAdapter.js +0 -1
- package/modules/nobidBidAdapter.js +1 -1
- package/modules/novatiqIdSystem.js +6 -3
- package/modules/oguryBidAdapter.js +3 -2
- package/modules/onetagBidAdapter.js +1 -1
- package/modules/onomagicBidAdapter.js +1 -2
- package/modules/openxBidAdapter.js +192 -563
- package/modules/openxBidAdapter.md +22 -20
- package/modules/openxOrtbBidAdapter.js +24 -10
- package/modules/openxOrtbBidAdapter.md +11 -8
- package/modules/operaadsBidAdapter.js +1 -1
- package/modules/parrableIdSystem.js +4 -2
- package/modules/permutiveRtdProvider.js +2 -1
- package/modules/prebidServerBidAdapter/index.js +9 -3
- package/modules/prebidServerBidAdapter/ortbConverter.js +12 -2
- package/modules/prebidmanagerAnalyticsAdapter.js +3 -2
- package/modules/pubCommonId.js +6 -3
- package/modules/publinkIdSystem.js +2 -1
- package/modules/pubmaticAnalyticsAdapter.js +12 -1
- package/modules/pubmaticBidAdapter.js +193 -223
- package/modules/pubwiseAnalyticsAdapter.js +5 -3
- package/modules/pubxBidAdapter.js +5 -2
- package/modules/quantcastBidAdapter.js +1 -1
- package/modules/quantcastIdSystem.js +5 -3
- package/modules/realvuAnalyticsAdapter.js +6 -3
- package/modules/riseBidAdapter.js +1 -1
- package/modules/roxotAnalyticsAdapter.js +5 -2
- package/modules/rtbhouseBidAdapter.js +5 -3
- package/modules/rtdModule/index.js +3 -0
- package/modules/rubiconAnalyticsAdapter.js +3 -2
- package/modules/rubiconBidAdapter.js +1 -0
- package/modules/sharedIdSystem.js +16 -36
- package/modules/sharethroughBidAdapter.js +2 -3
- package/modules/shinezBidAdapter.js +1 -1
- package/modules/sigmoidAnalyticsAdapter.js +4 -2
- package/modules/smartadserverBidAdapter.js +2 -3
- package/modules/smarthubBidAdapter.js +1 -1
- package/modules/sovrnBidAdapter.js +2 -3
- package/modules/staqAnalyticsAdapter.js +5 -3
- package/modules/stroeerCoreBidAdapter.js +3 -2
- package/modules/synacormediaBidAdapter.js +1 -3
- package/modules/taboolaBidAdapter.js +4 -2
- package/modules/teadsBidAdapter.js +1 -1
- package/modules/teadsIdSystem.js +2 -1
- package/modules/tripleliftBidAdapter.js +1 -1
- package/modules/truereachBidAdapter.js +1 -2
- package/modules/trustpidSystem.js +3 -2
- package/modules/ttdBidAdapter.js +11 -5
- package/modules/uid2IdSystem.js +3 -2
- package/modules/undertoneBidAdapter.js +1 -0
- package/modules/userId/eids.js +18 -0
- package/modules/userId/eids.md +16 -0
- package/modules/userId/index.js +5 -2
- package/modules/validationFpdModule/index.js +3 -2
- package/modules/vidazooBidAdapter.js +14 -5
- package/modules/videoheroesBidAdapter.js +1 -1
- package/modules/vidoomyBidAdapter.js +51 -2
- package/modules/visiblemeasuresBidAdapter.js +1 -1
- package/modules/vrtcalBidAdapter.js +1 -1
- package/modules/weboramaRtdProvider.js +3 -1
- package/modules/yieldmoBidAdapter.js +2 -3
- package/modules/yieldoneBidAdapter.js +1 -1
- package/modules/yuktamediaAnalyticsAdapter.js +4 -2
- package/modules/zeotapIdPlusIdSystem.js +3 -2
- package/modules/zeta_global_sspBidAdapter.js +3 -0
- package/package.json +1 -1
- package/plugins/eslint/validateImports.js +13 -14
- package/plugins/pbjsGlobals.js +3 -1
- package/src/Renderer.js +2 -1
- package/src/activities/modules.js +5 -0
- package/src/adapterManager.js +4 -8
- package/src/adapters/bidderFactory.js +30 -16
- package/src/consentHandler.js +42 -0
- package/src/native.js +5 -1
- package/src/refererDetection.js +39 -21
- package/src/secureCreatives.js +2 -2
- package/src/storageManager.js +33 -47
- package/src/userSync.js +7 -4
- package/test/spec/auctionmanager_spec.js +2 -2
- package/test/spec/libraries/domainOverrideToRootDomain/index_spec.js +77 -0
- package/test/spec/modules/33acrossIdSystem_spec.js +1 -1
- package/test/spec/modules/acuityAdsBidAdapter_spec.js +2 -1
- package/test/spec/modules/adagioBidAdapter_spec.js +11 -17
- package/test/spec/modules/admixerIdSystem_spec.js +0 -3
- package/test/spec/modules/adnuntiusBidAdapter_spec.js +6 -6
- package/test/spec/modules/adrinoBidAdapter_spec.js +65 -34
- package/test/spec/modules/adsinteractiveBidAdapter_spec.js +207 -0
- package/test/spec/modules/adyoulikeBidAdapter_spec.js +13 -11
- package/test/spec/modules/aidemBidAdapter_spec.js +72 -8
- package/test/spec/modules/amxBidAdapter_spec.js +4 -1
- package/test/spec/modules/amxIdSystem_spec.js +13 -26
- package/test/spec/modules/appushBidAdapter_spec.js +2 -1
- package/test/spec/modules/atsAnalyticsAdapter_spec.js +2 -2
- package/test/spec/modules/audiencerunBidAdapter_spec.js +8 -11
- package/test/spec/modules/bedigitechBidAdapter_spec.js +145 -0
- package/test/spec/modules/beyondmediaBidAdapter_spec.js +2 -1
- package/test/spec/modules/bluebillywigBidAdapter_spec.js +1 -3
- package/test/spec/modules/compassBidAdapter_spec.js +2 -1
- package/test/spec/modules/concertBidAdapter_spec.js +3 -8
- package/test/spec/modules/connectIdSystem_spec.js +420 -242
- package/test/spec/modules/connectadBidAdapter_spec.js +11 -3
- package/test/spec/modules/contentexchangeBidAdapter_spec.js +2 -1
- package/test/spec/modules/criteoBidAdapter_spec.js +29 -0
- package/test/spec/modules/criteoIdSystem_spec.js +38 -0
- package/test/spec/modules/datablocksBidAdapter_spec.js +0 -1
- package/test/spec/modules/dspxBidAdapter_spec.js +184 -13
- package/test/spec/modules/eids_spec.js +30 -0
- package/test/spec/modules/fledge_spec.js +173 -2
- package/test/spec/modules/freewheel-sspBidAdapter_spec.js +37 -0
- package/test/spec/modules/gdprEnforcement_spec.js +134 -164
- package/test/spec/modules/globalsunBidAdapter_spec.js +2 -1
- package/test/spec/modules/greenbidsAnalyticsAdapter_spec.js +418 -0
- package/test/spec/modules/gridBidAdapter_spec.js +9 -5
- package/test/spec/modules/growthCodeIdSystem_spec.js +2 -1
- package/test/spec/modules/id5IdSystem_spec.js +41 -4
- package/test/spec/modules/identityLinkIdSystem_spec.js +2 -2
- package/test/spec/modules/improvedigitalBidAdapter_spec.js +10 -3
- package/test/spec/modules/iqzoneBidAdapter_spec.js +2 -1
- package/test/spec/modules/ivsBidAdapter_spec.js +197 -0
- package/test/spec/modules/ixBidAdapter_spec.js +84 -71
- package/test/spec/modules/jixieBidAdapter_spec.js +42 -60
- package/test/spec/modules/koblerBidAdapter_spec.js +0 -20
- package/test/spec/modules/liveIntentIdSystem_spec.js +10 -0
- package/test/spec/modules/luponmediaBidAdapter_spec.js +1 -1
- package/test/spec/modules/magniteAnalyticsAdapter_spec.js +129 -1
- package/test/spec/modules/mathildeadsBidAdapter_spec.js +2 -1
- package/test/spec/modules/mediakeysBidAdapter_spec.js +12 -16
- package/test/spec/modules/mgidBidAdapter_spec.js +184 -36
- package/test/spec/modules/oguryBidAdapter_spec.js +19 -4
- package/test/spec/modules/openxBidAdapter_spec.js +1157 -1936
- package/test/spec/modules/openxOrtbBidAdapter_spec.js +108 -50
- package/test/spec/modules/prebidServerBidAdapter_spec.js +68 -2
- package/test/spec/modules/publinkIdSystem_spec.js +3 -2
- package/test/spec/modules/pubmaticBidAdapter_spec.js +67 -10
- package/test/spec/modules/pubxBidAdapter_spec.js +10 -2
- package/test/spec/modules/realTimeDataModule_spec.js +22 -0
- package/test/spec/modules/realvuAnalyticsAdapter_spec.js +0 -1
- package/test/spec/modules/relaidoBidAdapter_spec.js +5 -5
- package/test/spec/modules/rubiconBidAdapter_spec.js +2 -1
- package/test/spec/modules/sharedIdSystem_spec.js +0 -46
- package/test/spec/modules/sharethroughBidAdapter_spec.js +99 -22
- package/test/spec/modules/smartadserverBidAdapter_spec.js +74 -12
- package/test/spec/modules/smarthubBidAdapter_spec.js +2 -1
- package/test/spec/modules/sovrnBidAdapter_spec.js +25 -6
- package/test/spec/modules/stroeerCoreBidAdapter_spec.js +13 -18
- package/test/spec/modules/synacormediaBidAdapter_spec.js +0 -26
- package/test/spec/modules/taboolaBidAdapter_spec.js +101 -0
- package/test/spec/modules/ttdBidAdapter_spec.js +25 -7
- package/test/spec/modules/userId_spec.js +68 -0
- package/test/spec/modules/vidazooBidAdapter_spec.js +13 -0
- package/test/spec/modules/videoModule/submodules/jwplayerVideoProvider_spec.js +17 -4
- package/test/spec/modules/vidoomyBidAdapter_spec.js +68 -0
- package/test/spec/modules/visiblemeasuresBidAdapter_spec.js +2 -1
- package/test/spec/modules/vrtcalBidAdapter_spec.js +3 -2
- package/test/spec/modules/yieldmoBidAdapter_spec.js +18 -2
- package/test/spec/modules/zeotapIdPlusIdSystem_spec.js +3 -2
- package/test/spec/modules/zeta_global_sspBidAdapter_spec.js +8 -0
- package/test/spec/refererDetection_spec.js +56 -1
- package/test/spec/renderer_spec.js +1 -2
- package/test/spec/unit/core/adapterManager_spec.js +21 -58
- package/test/spec/unit/core/bidderFactory_spec.js +28 -10
- package/test/spec/unit/core/consentHandler_spec.js +29 -1
- package/test/spec/unit/core/storageManager_spec.js +31 -21
- package/test/spec/userSync_spec.js +2 -1
|
@@ -8,14 +8,86 @@
|
|
|
8
8
|
import {ajax} from '../src/ajax.js';
|
|
9
9
|
import {submodule} from '../src/hook.js';
|
|
10
10
|
import {includes} from '../src/polyfill.js';
|
|
11
|
-
import {
|
|
11
|
+
import {getRefererInfo} from '../src/refererDetection.js';
|
|
12
|
+
import {getStorageManager} from '../src/storageManager.js';
|
|
13
|
+
import {formatQS, isPlainObject, logError, parseUrl} from '../src/utils.js';
|
|
14
|
+
import {uspDataHandler} from '../src/adapterManager.js';
|
|
15
|
+
import {MODULE_TYPE_UID} from '../src/activities/modules.js';
|
|
12
16
|
|
|
13
17
|
const MODULE_NAME = 'connectId';
|
|
18
|
+
const STORAGE_EXPIRY_DAYS = 14;
|
|
14
19
|
const VENDOR_ID = 25;
|
|
15
20
|
const PLACEHOLDER = '__PIXEL_ID__';
|
|
16
21
|
const UPS_ENDPOINT = `https://ups.analytics.yahoo.com/ups/${PLACEHOLDER}/fed`;
|
|
17
22
|
const OVERRIDE_OPT_OUT_KEY = 'connectIdOptOut';
|
|
18
23
|
const INPUT_PARAM_KEYS = ['pixelId', 'he', 'puid'];
|
|
24
|
+
export const storage = getStorageManager({moduleType: MODULE_TYPE_UID, moduleName: MODULE_NAME});
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @function
|
|
28
|
+
* @param {Object} obj
|
|
29
|
+
*/
|
|
30
|
+
function storeObject(obj) {
|
|
31
|
+
const expires = Date.now() + (60 * 60 * 24 * 1000 * STORAGE_EXPIRY_DAYS);
|
|
32
|
+
if (storage.cookiesAreEnabled()) {
|
|
33
|
+
setEtldPlusOneCookie(MODULE_NAME, JSON.stringify(obj), new Date(expires), getSiteHostname());
|
|
34
|
+
} else if (storage.localStorageIsEnabled()) {
|
|
35
|
+
obj.__expires = expires;
|
|
36
|
+
storage.setDataInLocalStorage(MODULE_NAME, obj);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Attempts to store a cookie on eTLD + 1
|
|
42
|
+
*
|
|
43
|
+
* @function
|
|
44
|
+
* @param {String} key
|
|
45
|
+
* @param {String} value
|
|
46
|
+
* @param {Date} expirationDate
|
|
47
|
+
* @param {String} hostname
|
|
48
|
+
*/
|
|
49
|
+
function setEtldPlusOneCookie(key, value, expirationDate, hostname) {
|
|
50
|
+
const subDomains = hostname.split('.');
|
|
51
|
+
for (let i = 0; i < subDomains.length; ++i) {
|
|
52
|
+
const domain = subDomains.slice(subDomains.length - i - 1, subDomains.length).join('.');
|
|
53
|
+
try {
|
|
54
|
+
storage.setCookie(key, value, expirationDate.toUTCString(), null, '.' + domain);
|
|
55
|
+
const storedCookie = storage.getCookie(key);
|
|
56
|
+
if (storedCookie && storedCookie === value) {
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
} catch (error) {}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function getIdFromCookie() {
|
|
64
|
+
if (storage.cookiesAreEnabled()) {
|
|
65
|
+
try {
|
|
66
|
+
return JSON.parse(storage.getCookie(MODULE_NAME));
|
|
67
|
+
} catch {}
|
|
68
|
+
}
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function getIdFromLocalStorage() {
|
|
73
|
+
if (storage.localStorageIsEnabled()) {
|
|
74
|
+
const storedIdData = storage.getDataFromLocalStorage(MODULE_NAME);
|
|
75
|
+
if (storedIdData) {
|
|
76
|
+
if (isPlainObject(storedIdData) && storedIdData.__expires &&
|
|
77
|
+
storedIdData.__expires <= Date.now()) {
|
|
78
|
+
storage.removeDataFromLocalStorage(MODULE_NAME);
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
return storedIdData;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function getSiteHostname() {
|
|
88
|
+
const pageInfo = parseUrl(getRefererInfo().page);
|
|
89
|
+
return pageInfo.hostname;
|
|
90
|
+
}
|
|
19
91
|
|
|
20
92
|
/** @type {Submodule} */
|
|
21
93
|
export const connectIdSubmodule = {
|
|
@@ -37,8 +109,8 @@ export const connectIdSubmodule = {
|
|
|
37
109
|
if (connectIdSubmodule.userHasOptedOut()) {
|
|
38
110
|
return undefined;
|
|
39
111
|
}
|
|
40
|
-
return (
|
|
41
|
-
? {connectId: value.connectid} : undefined;
|
|
112
|
+
return (isPlainObject(value) && (value.connectId || value.connectid))
|
|
113
|
+
? {connectId: value.connectId || value.connectid} : undefined;
|
|
42
114
|
},
|
|
43
115
|
/**
|
|
44
116
|
* Gets the Yahoo ConnectID
|
|
@@ -54,21 +126,28 @@ export const connectIdSubmodule = {
|
|
|
54
126
|
const params = config.params || {};
|
|
55
127
|
if (!params || (typeof params.he !== 'string' && typeof params.puid !== 'string') ||
|
|
56
128
|
(typeof params.pixelId === 'undefined' && typeof params.endpoint === 'undefined')) {
|
|
57
|
-
logError(
|
|
58
|
-
|
|
129
|
+
logError(`${MODULE_NAME} module: configurataion requires the 'pixelId' and at ` +
|
|
130
|
+
`least one of the 'he' or 'puid' parameters to be defined.`);
|
|
59
131
|
return;
|
|
60
132
|
}
|
|
61
133
|
|
|
134
|
+
const storedId = getIdFromCookie() || getIdFromLocalStorage();
|
|
135
|
+
if (storedId) {
|
|
136
|
+
return {id: storedId};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
const uspString = uspDataHandler.getConsentData() || '';
|
|
62
140
|
const data = {
|
|
141
|
+
v: '1',
|
|
63
142
|
'1p': includes([1, '1', true], params['1p']) ? '1' : '0',
|
|
64
143
|
gdpr: connectIdSubmodule.isEUConsentRequired(consentData) ? '1' : '0',
|
|
65
|
-
gdpr_consent: connectIdSubmodule.isEUConsentRequired(consentData) ? consentData.
|
|
66
|
-
us_privacy:
|
|
144
|
+
gdpr_consent: connectIdSubmodule.isEUConsentRequired(consentData) ? consentData.consentString : '',
|
|
145
|
+
us_privacy: uspString
|
|
67
146
|
};
|
|
68
147
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
data.
|
|
148
|
+
let topmostLocation = getRefererInfo().topmostLocation;
|
|
149
|
+
if (typeof topmostLocation === 'string') {
|
|
150
|
+
data.url = topmostLocation.split('?')[0];
|
|
72
151
|
}
|
|
73
152
|
|
|
74
153
|
INPUT_PARAM_KEYS.forEach(key => {
|
|
@@ -84,6 +163,11 @@ export const connectIdSubmodule = {
|
|
|
84
163
|
if (response) {
|
|
85
164
|
try {
|
|
86
165
|
responseObj = JSON.parse(response);
|
|
166
|
+
if (isPlainObject(responseObj) && Object.keys(responseObj).length > 0) {
|
|
167
|
+
storeObject(responseObj);
|
|
168
|
+
} else {
|
|
169
|
+
logError(`${MODULE_NAME} module: UPS response returned an invalid payload ${response}`);
|
|
170
|
+
}
|
|
87
171
|
} catch (error) {
|
|
88
172
|
logError(error);
|
|
89
173
|
}
|
|
@@ -91,7 +175,7 @@ export const connectIdSubmodule = {
|
|
|
91
175
|
callback(responseObj);
|
|
92
176
|
},
|
|
93
177
|
error: error => {
|
|
94
|
-
logError(`${MODULE_NAME}: ID fetch encountered an error`, error);
|
|
178
|
+
logError(`${MODULE_NAME} module: ID fetch encountered an error`, error);
|
|
95
179
|
callback();
|
|
96
180
|
}
|
|
97
181
|
};
|
|
@@ -108,16 +192,7 @@ export const connectIdSubmodule = {
|
|
|
108
192
|
* @returns {Boolean}
|
|
109
193
|
*/
|
|
110
194
|
isEUConsentRequired(consentData) {
|
|
111
|
-
return !!(consentData
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Utility function that returns a boolean flag indicating if the opportunity
|
|
116
|
-
* is subject to GPP jurisdiction.
|
|
117
|
-
* @returns {Boolean}
|
|
118
|
-
*/
|
|
119
|
-
isUnderGPPJurisdiction(consentData) {
|
|
120
|
-
return !!(consentData && consentData.gppConsent && consentData.gppConsent.gppString);
|
|
195
|
+
return !!(consentData?.gdprApplies);
|
|
121
196
|
},
|
|
122
197
|
|
|
123
198
|
/**
|
|
@@ -27,8 +27,9 @@ The below parameters apply only to the Yahoo ConnectID user ID Module.
|
|
|
27
27
|
|
|
28
28
|
| Param under usersync.userIds[] | Scope | Type | Description | Example |
|
|
29
29
|
| --- | --- | --- | --- | --- |
|
|
30
|
-
| name | Required | String |
|
|
31
|
-
| params | Required | Object |
|
|
32
|
-
| params.pixelId | Required | Number |
|
|
33
|
-
|
|
34
|
-
| params.
|
|
30
|
+
| name | Required | String | The name of this module. | `"connectId"` |
|
|
31
|
+
| params | Required | Object | Container of all module params. ||
|
|
32
|
+
| params.pixelId | Required | Number |
|
|
33
|
+
The Yahoo-supplied publisher-specific pixel ID. | `"0000"` |
|
|
34
|
+
| params.he | Optional | String | The SHA-256 hashed user email address which has been lowercased prior to hashing. Pass both `he` and `puid` params if present, otherwise pass either of the two that is available. |`"ed8ddbf5a171981db8ef938596ca297d5e3f84bcc280041c5880dba3baf9c1d4"`|
|
|
35
|
+
| params.puid | Optional | String | The publisher supplied user identifier such as a first-party cookie. Pass both `he` and `puid` params if present, otherwise pass either of the two that is available. | `"ab9iibf5a231ii1db8ef911596ca297d5e3f84biii00041c5880dba3baf9c1da"` |
|
|
@@ -2,8 +2,6 @@ import { deepSetValue, convertTypes, tryAppendQueryString, logWarn } from '../sr
|
|
|
2
2
|
import { registerBidder } from '../src/adapters/bidderFactory.js';
|
|
3
3
|
import { BANNER } from '../src/mediaTypes.js'
|
|
4
4
|
import {config} from '../src/config.js';
|
|
5
|
-
import {createEidsArray} from './userId/eids.js';
|
|
6
|
-
|
|
7
5
|
const BIDDER_CODE = 'connectad';
|
|
8
6
|
const BIDDER_CODE_ALIAS = 'connectadrealtime';
|
|
9
7
|
const ENDPOINT_URL = 'https://i.connectad.io/api/v2';
|
|
@@ -73,8 +71,8 @@ export const spec = {
|
|
|
73
71
|
}
|
|
74
72
|
|
|
75
73
|
// EIDS Support
|
|
76
|
-
if (validBidRequests[0].
|
|
77
|
-
deepSetValue(data, 'user.ext.eids',
|
|
74
|
+
if (validBidRequests[0].userIdAsEids) {
|
|
75
|
+
deepSetValue(data, 'user.ext.eids', validBidRequests[0].userIdAsEids);
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
validBidRequests.map(bid => {
|
|
@@ -157,7 +157,7 @@ export const spec = {
|
|
|
157
157
|
coppa: config.getConfig('coppa') === true ? 1 : 0,
|
|
158
158
|
ccpa: bidderRequest.uspConsent || undefined,
|
|
159
159
|
gdpr: bidderRequest.gdprConsent || undefined,
|
|
160
|
-
tmax:
|
|
160
|
+
tmax: bidderRequest.timeout
|
|
161
161
|
};
|
|
162
162
|
|
|
163
163
|
const len = validBidRequests.length;
|
|
@@ -33,9 +33,9 @@ export const spec = {
|
|
|
33
33
|
buildRequests: function(bidRequests, bidderRequest) {
|
|
34
34
|
// convert Native ORTB definition to old-style prebid native definition
|
|
35
35
|
bidRequests = convertOrtbRequestToProprietaryNative(bidRequests);
|
|
36
|
-
|
|
36
|
+
const bidRequest = bidRequests[0];
|
|
37
37
|
const tags = bidRequests.map(bidToTag);
|
|
38
|
-
const schain =
|
|
38
|
+
const schain = bidRequest.schain;
|
|
39
39
|
const payload = {
|
|
40
40
|
tags: [...tags],
|
|
41
41
|
ua: navigator.userAgent,
|
|
@@ -44,26 +44,31 @@ export const spec = {
|
|
|
44
44
|
},
|
|
45
45
|
schain: schain
|
|
46
46
|
};
|
|
47
|
-
if (bidderRequest
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
47
|
+
if (bidderRequest) {
|
|
48
|
+
if (bidderRequest.gdprConsent) {
|
|
49
|
+
payload.gdpr_consent = {
|
|
50
|
+
consent_string: bidderRequest.gdprConsent.consentString,
|
|
51
|
+
consent_required: bidderRequest.gdprConsent.gdprApplies
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
if (bidderRequest.uspConsent) {
|
|
55
|
+
payload.us_privacy = bidderRequest.uspConsent;
|
|
56
|
+
}
|
|
57
|
+
if (bidderRequest.refererInfo) {
|
|
58
|
+
let refererinfo = {
|
|
59
|
+
// TODO: this collects everything it finds, except for the canonical URL
|
|
60
|
+
rd_ref: bidderRequest.refererInfo.topmostLocation,
|
|
61
|
+
rd_top: bidderRequest.refererInfo.reachedTop,
|
|
62
|
+
rd_ifs: bidderRequest.refererInfo.numIframes,
|
|
63
|
+
};
|
|
64
|
+
if (bidderRequest.refererInfo.stack) {
|
|
65
|
+
refererinfo.rd_stk = bidderRequest.refererInfo.stack.join(',');
|
|
66
|
+
}
|
|
67
|
+
payload.referrer_detection = refererinfo;
|
|
68
|
+
}
|
|
69
|
+
if (bidRequest.userId) {
|
|
70
|
+
payload.userId = bidRequest.userId
|
|
65
71
|
}
|
|
66
|
-
payload.referrer_detection = refererinfo;
|
|
67
72
|
}
|
|
68
73
|
const request = formatRequest(payload, bidderRequest);
|
|
69
74
|
return request;
|
|
@@ -106,7 +111,7 @@ export const spec = {
|
|
|
106
111
|
params = convertTypes({
|
|
107
112
|
'sitekey': 'string',
|
|
108
113
|
'placementId': 'string',
|
|
109
|
-
'keywords': transformBidderParamKeywords
|
|
114
|
+
'keywords': transformBidderParamKeywords,
|
|
110
115
|
}, params);
|
|
111
116
|
if (isOpenRtb) {
|
|
112
117
|
if (isPopulatedArray(params.keywords)) {
|
|
@@ -148,11 +153,11 @@ function formatRequest(payload, bidderRequest) {
|
|
|
148
153
|
withCredentials: false
|
|
149
154
|
};
|
|
150
155
|
}
|
|
151
|
-
|
|
156
|
+
const baseUrl = payload.tags[0].url || URL_BASE;
|
|
152
157
|
const payloadString = JSON.stringify(payload);
|
|
153
158
|
return {
|
|
154
159
|
method: 'POST',
|
|
155
|
-
url: `${
|
|
160
|
+
url: `${baseUrl}/${payload.tags[0].sitekey}`,
|
|
156
161
|
data: payloadString,
|
|
157
162
|
bidderRequest,
|
|
158
163
|
options
|
|
@@ -16,7 +16,7 @@ const BIDDER_CODE = 'criteo';
|
|
|
16
16
|
const CDB_ENDPOINT = 'https://bidder.criteo.com/cdb';
|
|
17
17
|
const PROFILE_ID_INLINE = 207;
|
|
18
18
|
export const PROFILE_ID_PUBLISHERTAG = 185;
|
|
19
|
-
export const storage = getStorageManager({
|
|
19
|
+
export const storage = getStorageManager({ bidderCode: BIDDER_CODE });
|
|
20
20
|
const LOG_PREFIX = 'Criteo: ';
|
|
21
21
|
|
|
22
22
|
/*
|
|
@@ -418,7 +418,9 @@ function buildCdbRequest(context, bidRequests, bidderRequest) {
|
|
|
418
418
|
ext: bidderRequest.publisherExt,
|
|
419
419
|
},
|
|
420
420
|
regs: {
|
|
421
|
-
coppa: bidderRequest.coppa === true ? 1 : (bidderRequest.coppa === false ? 0 : undefined)
|
|
421
|
+
coppa: bidderRequest.coppa === true ? 1 : (bidderRequest.coppa === false ? 0 : undefined),
|
|
422
|
+
gpp: bidderRequest.ortb2?.regs?.gpp,
|
|
423
|
+
gpp_sid: bidderRequest.ortb2?.regs?.gpp_sid
|
|
422
424
|
},
|
|
423
425
|
slots: bidRequests.map(bidRequest => {
|
|
424
426
|
networkId = bidRequest.params.networkId || networkId;
|
|
@@ -9,11 +9,12 @@ import { timestamp, parseUrl, triggerPixel, logError } from '../src/utils.js';
|
|
|
9
9
|
import { ajax } from '../src/ajax.js';
|
|
10
10
|
import { getRefererInfo } from '../src/refererDetection.js';
|
|
11
11
|
import { submodule } from '../src/hook.js';
|
|
12
|
-
import {
|
|
12
|
+
import {getStorageManager} from '../src/storageManager.js';
|
|
13
|
+
import {MODULE_TYPE_UID} from '../src/activities/modules.js';
|
|
13
14
|
|
|
14
15
|
const gvlid = 91;
|
|
15
16
|
const bidderCode = 'criteo';
|
|
16
|
-
export const storage = getStorageManager({
|
|
17
|
+
export const storage = getStorageManager({moduleType: MODULE_TYPE_UID, moduleName: bidderCode});
|
|
17
18
|
|
|
18
19
|
const bididStorageKey = 'cto_bidid';
|
|
19
20
|
const bundleStorageKey = 'cto_bundle';
|
|
@@ -102,6 +103,9 @@ function callSyncPixel(domain, pixel) {
|
|
|
102
103
|
saveOnAllStorages(pixel.storageKeyName, jsonResponse[pixel.bundlePropertyName], domain);
|
|
103
104
|
}
|
|
104
105
|
}
|
|
106
|
+
},
|
|
107
|
+
error: error => {
|
|
108
|
+
logError(`criteoIdSystem: unable to sync user id`, error);
|
|
105
109
|
}
|
|
106
110
|
},
|
|
107
111
|
undefined,
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { submodule } from '../src/hook.js'
|
|
9
|
-
import {
|
|
9
|
+
import {getStorageManager} from '../src/storageManager.js';
|
|
10
|
+
import {MODULE_TYPE_UID} from '../src/activities/modules.js';
|
|
10
11
|
|
|
11
12
|
// Returns StorageManager
|
|
12
|
-
export const storage = getStorageManager({
|
|
13
|
+
export const storage = getStorageManager({ moduleType: MODULE_TYPE_UID, moduleName: 'czechAdId' })
|
|
13
14
|
|
|
14
15
|
// Returns the id string from either cookie or localstorage
|
|
15
16
|
const readId = () => { return storage.getCookie('czaid') || storage.getDataFromLocalStorage('czaid') }
|
package/modules/dacIdSystem.js
CHANGED
|
@@ -19,8 +19,9 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
getStorageManager
|
|
21
21
|
} from '../src/storageManager.js';
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
import {MODULE_TYPE_UID} from '../src/activities/modules.js';
|
|
23
|
+
const MODULE_NAME = 'dacId';
|
|
24
|
+
export const storage = getStorageManager({moduleType: MODULE_TYPE_UID, moduleName: MODULE_NAME});
|
|
24
25
|
|
|
25
26
|
export const FUUID_COOKIE_NAME = '_a1_f';
|
|
26
27
|
export const AONEID_COOKIE_NAME = '_a1_d';
|
|
@@ -116,7 +117,7 @@ export const dacIdSystemSubmodule = {
|
|
|
116
117
|
* used to link submodule with config
|
|
117
118
|
* @type {string}
|
|
118
119
|
*/
|
|
119
|
-
name:
|
|
120
|
+
name: MODULE_NAME,
|
|
120
121
|
|
|
121
122
|
/**
|
|
122
123
|
* decode the stored id value for passing to bid requests
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { submodule } from '../src/hook.js';
|
|
9
|
-
import {
|
|
9
|
+
import {getStorageManager} from '../src/storageManager.js';
|
|
10
|
+
import {MODULE_TYPE_UID} from '../src/activities/modules.js';
|
|
10
11
|
|
|
11
12
|
const MODULE_NAME = 'deepintentId';
|
|
12
|
-
export const storage = getStorageManager({
|
|
13
|
+
export const storage = getStorageManager({moduleType: MODULE_TYPE_UID, moduleName: MODULE_NAME});
|
|
13
14
|
|
|
14
15
|
/** @type {Submodule} */
|
|
15
16
|
export const deepintentDpesSubmodule = {
|
|
@@ -6,7 +6,7 @@ import { BANNER, NATIVE } from '../src/mediaTypes.js';
|
|
|
6
6
|
const BIDDER_CODE = 'discovery';
|
|
7
7
|
const ENDPOINT_URL = 'https://rtb-jp.mediago.io/api/bid?tn=';
|
|
8
8
|
const TIME_TO_LIVE = 500;
|
|
9
|
-
const storage = getStorageManager();
|
|
9
|
+
const storage = getStorageManager({bidderCode: BIDDER_CODE});
|
|
10
10
|
let globals = {};
|
|
11
11
|
let itemMaps = {};
|
|
12
12
|
const MEDIATYPE = [BANNER, NATIVE];
|