-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
User id module overrides ortb2.user.ext.eids content #11954
Comments
The line you linked affects only some adapters (those that use shared ortb2 conversion utilities). In general this needs to be done adapter by adapter. A workaround is to use pubProvidedId, which is essentially a userId wrapper around eids. However it only allows a single set of EIDs which can be restricted to some bidders, not different EIDs for different bidders. Related to #9951 and the deprecation of Proposal:
|
setBidderConfig wasn't a known pattern to me for telling bid adapters about IDs, pubProvidedId has been how we've imagined people do this, although it hasn't been without complaints. Is setBidderConfig popular, is this hypothetical, or something in between? |
@dgirardi is step 1 above simply to merge instead of set in the line @leonardlabat mentions? Of note @leonardlabat is an adapter maintainer of grid and criteo adapters |
For context, the reason we developed the support to collect user IDs via |
@dgirardi is step one of your proposal ready for dev? we received another report of this concern |
Can Prebid ensure its id, SharedID, is not overridden? Kind of like The Highlander, there can only be one, right? |
the PubProvided module is definitely where a publisher derived user id should land. |
@dmdabbs I think your request deserves its own issue, opening one |
The merged list will have multiple SharedIDs, right? Would that be a sufficient indicator that publisher has supplied additional ID? |
Closing with #12110 |
Type of issue
Bug
Description
If a publisher uses the
setBidderConfig
API to set manually some identifier in theortb2.user.ext.eids
structure, and if the publisher also uses some user id module, then unfortunately the bidder adapters will get only the eids resolved by the user id module.Most likely this is because this row https://github.com/prebid/Prebid.js/blob/master/modules/userId/index.js#L1199 overrides the potential existing value instead of merging the eids.
Steps to reproduce
setBidderConfig
and set some eids underortb2.user.ext.eids
structureExpected results
My bidder adapter is called with a request that contains both the eids set through the
setBidderConfig
call and the eids resolved by the user id module.Actual results
My bidder adapter is called with a request that contains only the eids resolved by the user id module.
The text was updated successfully, but these errors were encountered: