Skip to content

Commit

Permalink
Add GVL ID and bidder code to CriteoId module (#5781)
Browse files Browse the repository at this point in the history
* Add GVL ID and bidder code to CriteoId module

* Add gvlid as property to CriteoIdSubmodule

Co-authored-by: Jesus Alberto Polo Garcia <ja.pologarcia@criteo.com>
  • Loading branch information
jesusalber1 and Jesus Alberto Polo Garcia authored Sep 24, 2020
1 parent 80fc5b6 commit 27fe52a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/criteoIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -111,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
Expand Down

0 comments on commit 27fe52a

Please sign in to comment.