Skip to content
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

EIDs Should Not Require Unique Sources #3607

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

SyntaxNode
Copy link
Contributor

Implements #3097

request: &openrtb_ext.ExtRequest{Prebid: openrtb_ext.ExtRequestPrebid{Data: &openrtb_ext.ExtRequestPrebidData{EidPermissions: []openrtb_ext.ExtRequestPrebidDataEidPermission{
{Source: "sourceA", Bidders: []string{"a"}},
{Bidders: []string{"a"}},
}}}},
expectedError: errors.New(`request.ext.prebid.data.eidpermissions[1] missing required field: "source"`),
},
{
description: "Invalid - Duplicate Source",
name: "invalid-duplicate-source",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still a valid check since this is for eid permissions, which still makes sense to enforce a unique source to avoid unclear direction.

Copy link
Contributor

@guscarreon guscarreon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SyntaxNode SyntaxNode merged commit 12802fa into prebid:master Apr 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants