Skip to content

Add Prebid GVL ID to PubCommon and SharedID User modules #5964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bretg opened this issue Nov 12, 2020 · 3 comments · Fixed by #5974 or #5988
Closed

Add Prebid GVL ID to PubCommon and SharedID User modules #5964

bretg opened this issue Nov 12, 2020 · 3 comments · Fixed by #5974 or #5988
Assignees

Comments

@bretg
Copy link
Collaborator

bretg commented Nov 12, 2020

Type of issue

Enhancement

Description

Prebid now has a TCF vendor ID that we can use in the user ID modules owned by the organization.

Please add GVLID 887 to both modules.

I believe there are two aspects to this:

  1. the call to getStorageManager() should pass in GVLID and the name (PublisherCommonId)
  2. the spec passed to submodule() should contain gvlid. (pubCommonId.js doesn't call submodule()?
@jdwieland8282
Copy link
Member

jdwieland8282 commented Nov 12, 2020

@bretg line 24 here references "pubCommonId" not "PublisherCommonId", do you know which is correct? While we are thinking about it the GVLID is tied to prebid.org, instead of

const storage = getStorageManager(null, 'pubCommonId');

Should it be?

const storage = getStorageManager(887, 'prebid.org');

@smenzer
Copy link
Collaborator

smenzer commented Nov 13, 2020

Should it be?

const storage = getStorageManager(887, 'prebid.org');

It needs to be the same as the module name, which according to https://github.com/prebid/Prebid.js/blob/master/modules/pubCommonIdSystem.js#L161 is pubCommonId

so line 24 should be

const storage = getStorageManager(887, MODULE_NAME);

or better yet, set your GVLID as a variable since you'll need it later in the definition of pubCommonIdSubmodule

@SKOCHERI
Copy link
Contributor

In SharedId user id submodule, the storageManager.js is not used as it is just generating the id value and relying on index.js (userid module) to set the value in cookie/localstorage based on the configuration. SharedId submodule doesn't set any additional cookies like other modules like indentityLinkIdSystem has retry set in cookie, id5 has id5id.1st_{Partner_id}_nb

This was linked to pull requests Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants