Skip to content

Commit

Permalink
NovatiqId User Module - Include IAB Vendor ID (prebid#8479)
Browse files Browse the repository at this point in the history
* Novatiq snowflake userId submodule

Novatiq snowflake userId submodule initial release

* change request updates

added novatiq info /modules/userId/userId.md
added novatiq info /modules/userId/eids.md
added novatiq eids /modules/userId/eids.js
added novatiq module in /modules/.submodules.json
removed unnecessary value from getId response

* Update novatiqIdSystem_spec.js

removed unnecessary srcid value

* Update novatiqIdSystem.md

Novatiq ID System: updated novatiq snowflake ID description

* use the sharedId if available and configured

* updated docs

* test changes

* defensive code not required

* Use the prebid storage manager instead of using native functions

* doc changes

* trailing spaces

* Allow configuration of the sync URL and to allow callbacks for specific custom partner integrations

* update documentation

* attempt to fix firefox test timeout

* include the AIB Vendor Id

Co-authored-by: novatiq <[email protected]>
  • Loading branch information
2 people authored and renebaudisch committed Jun 28, 2022
1 parent abf2500 commit f6d736a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/novatiqIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export const novatiqIdSubmodule = {
* @type {string}
*/
name: 'novatiq',
/**
* used to specify vendor id
* @type {number}
*/
gvlid: 1119,

/**
* decode the stored id value for passing to bid requests
Expand Down Expand Up @@ -202,7 +207,7 @@ export const novatiqIdSubmodule = {
let sharedId = null;
if (this.useSharedId(configParams)) {
let cookieOrStorageID = this.getCookieOrStorageID(configParams);
const storage = getStorageManager({moduleName: 'pubCommonId'});
const storage = getStorageManager({gvlid: this.gvlid, moduleName: 'pubCommonId'});

// first check local storage
if (storage.hasLocalStorage()) {
Expand Down

0 comments on commit f6d736a

Please sign in to comment.