

Publishers that want to do this should design their workflow and then set _pbjs_id_optout cookie or HTML5 local storage. Without third-party cookies, mechanisms like the NAI don’t work, so some publishers may want to implement a first party opt-out so their users aren’t tagged with first party cookies containing IDs. This is for backwards compatibility with the original PubCommonID module, as of 5.0 known as the SharedId module.

Note that User IDs aren’t needed in the mobile app world because device ID is available in those ad serving scenarios. Note: To add a custom data type for the response of pbjs.getUserIdsAsEids(), see other examples within the createEidsArray method in /modules/userId/eid.js Note: If your ID structure is complicated, it is helpful to add tests for pbjs.getUserIds(), pbjs.getUserIdsAsEids() and pbjs.getUserIdsAsync(). The page can call pbjs.getUserIds(), pbjs.getUserIdsAsEids(), or pbjs.getUserIdsAsync().erIdAsEids has userIds in ORTB EIDS format. In addition to erId, erIdAsEids is made available to Prebid.js adapters and Prebid Server S2S adapters.An object containing one or more IDs ( erId) is made available to Prebid.js adapters and Prebid Server S2S adapters.This is required so that ID sub-modules may be called to refresh their ID if the user’s consent preferences have changed from the previous page, and ensures cached IDs are no longer used if consent is withdrawn. If GDPR applies, the consent signal from the CMP is hashed and stored in a cookie called _pbjs_userid_consent_data.If the relevant local storage is present, the module doesn’t call the URL and instead parses the scheme-dependent format, injecting the resulting ID into erId.When setConfig() is called, and if the user has consented to storing IDs locally, the module is invoked to call the URL if needed.The page defines User ID configuration in tConfig().You also need to add the userId module to your Prebid.js distribution. The publisher builds Prebid.js by specifying one or more ID sub-modules they would like to include.The publisher determines which user ID modules to add to their Prebid.js package and consults with their legal counsel to determine the appropriate user disclosures.Instead of having several exchanges sync IDs with dozens of demand sources, a publisher can choose to integrate with any of a number of ID schemes. The User ID module supports multiple ways of establishing pseudonymous IDs for users, which is an important way of increasing the value of header bidding. Adapters Supporting the User ID Sub-Modules.Novatiq Hyper ID with Prebid SharedID support.FTrack ID from Flashtalking By Mediaocean Configuration.

FTrack ID from Flashtalking By Mediaocean.User ID, GDPR, Permissions, and Opt-Out.
