-
Notifications
You must be signed in to change notification settings - Fork 773
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
request.user.eids should not require unique sources #3097
Comments
Discussed in committee. Essentially, PAIR treats EIDs as if source is not a primary key for the EIDs array. However, the IAB spec indicates that there should be a single source. Putting this on hold while additional discussions take place. |
which spec, and where? |
I can't find the specific doc that @SyntaxNode was sharing this morning, but this is similar: https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md It's pretty clear from the design of the object that the IAB intended the instead of
The way the IAB would suggest representing would be to combine the uids into the one source object.
|
I disagree. The field is not even marked as required in any version of the spec I can find. If we are to take hints on what should be unique from the structure of the objects, you could make the same argument for user data, which is essentially the same structure with the same lack of remarks on field uniqueness or optionality. Yet from my testing server accepts repeated values for both |
Scott was just looking at the ORTB 2.6 spec which says
This is vague, but anyhow, it has been interpreted by Prebid Server as being a validation. If the community wants PBS to stop doing this validation, it will be done. |
If this is just validation I think it's an easy decision - it should be relaxed. |
Discussed in committee - we will relax this validation. |
Validation removed in PBS-Java 2.4 |
Implemented in PBS-Go v2.15 |
A request with non-unique eids sources generates error "Invalid request format: request.user.eids must contain unique sources"
https://github.com/prebid/prebid-server-java/blob/eefe82b27fc3fd625b9dedff99c5586f76001c8b/src/main/java/org/prebid/server/validation/RequestValidator.java#L353
There are a variety of use cases for non-unique sources:
eg https://github.com/prebid/Prebid.js/blob/4c2902f36759476482e4a0f9ab482e569b0efb7a/test/spec/modules/pairIdSystem_spec.js#L48
a single source could have multiple atypes (eg a person or a device identifier)
A single source, eg adserver.org, may have different ids with different ext.rtipartner.
We'd like to make this validation account level opt in or remove it altogether, or perhaps change it to be more nuanced.
The text was updated successfully, but these errors were encountered: