From 9fc5ff7e772c5862183a3c21b1e033533f0f14d5 Mon Sep 17 00:00:00 2001 From: Jesus Alberto Polo Garcia Date: Wed, 23 Sep 2020 11:05:02 +0200 Subject: [PATCH 1/2] Add GVL ID and bidder code to CriteoId module --- modules/criteoIdSystem.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/criteoIdSystem.js b/modules/criteoIdSystem.js index c44f0c843ae..0b29d92ce09 100644 --- a/modules/criteoIdSystem.js +++ b/modules/criteoIdSystem.js @@ -11,7 +11,9 @@ import { getRefererInfo } from '../src/refererDetection.js' import { submodule } from '../src/hook.js'; import { getStorageManager } from '../src/storageManager.js'; -export const storage = getStorageManager(); +const gvlid = 91; +const bidderCode = 'criteo'; +export const storage = getStorageManager(gvlid, bidderCode); const bididStorageKey = 'cto_bidid'; const bundleStorageKey = 'cto_bundle'; From c257fd6bce906749b443ad008284183d0c3d468d Mon Sep 17 00:00:00 2001 From: Jesus Alberto Polo Garcia Date: Thu, 24 Sep 2020 11:58:34 +0200 Subject: [PATCH 2/2] Add gvlid as property to CriteoIdSubmodule --- modules/criteoIdSystem.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/criteoIdSystem.js b/modules/criteoIdSystem.js index 0b29d92ce09..017194d0e86 100644 --- a/modules/criteoIdSystem.js +++ b/modules/criteoIdSystem.js @@ -113,7 +113,8 @@ export const criteoIdSubmodule = { * used to link submodule with config * @type {string} */ - name: 'criteo', + name: bidderCode, + gvlid: gvlid, /** * decode the stored id value for passing to bid requests * @function