-
Notifications
You must be signed in to change notification settings - Fork 749
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
Make user.ext.prebid.buyeruids bidder name case insensitive #3123
Conversation
The base branch was changed.
@@ -0,0 +1,77 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add a test using a bidder name where it's original formatting isn't already lowercase (i.e. yahooAds)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in 8b7a55b
normalisedBidderName, _ := openrtb_ext.NormalizeBidderName(bidderName) | ||
coreBidderName := normalisedBidderName.String() | ||
if _, isCoreBidderDisabled := deps.disabledBidders[coreBidderName]; isCoreBidderDisabled { | ||
return fmt.Errorf("request.ext.prebid.aliases.%s refers to disabled bidder: %s", alias, bidderName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this changed? I think validateAliases were changed in - https://github.com/prebid/prebid-server/pull/3123/files#diff-23485c351c14cdca5e337d1c05105bd3a9b7308b017589654f0854ff4f9a7ff1 PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this happened because base PR PBS-1254-1 which added changes for validateAliases was merged and deleted. Due to which commits from PBS-1254-1 got added in PBS-1257
Closing this PR since it has some commits from PBS-1254-1. Created a new PR with commits related to PBS-1257 only. |
We need to handle case insensitivity for user.ext.prebid.buyeruids biddernames. This PR updates the biddername look up to use the normalized names for buyeruids.BIDDER.
partially resolves #2400