-
Notifications
You must be signed in to change notification settings - Fork 250
Yahoo Ads: Migrate to OpenRTB 2.6 #4521
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
Open
MananRPatel
wants to merge
20
commits into
prebid:master
Choose a base branch
from
MananRPatel:YahooAds26
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
75b65c6
Yahoo Ads: migrate outbound wire from OpenRTB 2.5 to 2.6
1e55870
Yahoo Ads: preserve non-promoted regs.ext values during 2.6 promotion
cb2fa2c
Yahoo Ads: treat a non-integer gpp_sid element as malformed
c765516
Merge remote-tracking branch 'upstream/master' into YahooAds26
3fc6153
Yahoo Ads: make regs ext-to-top promotion consistent and self-describing
a385e19
Merge remote-tracking branch 'upstream/master' into YahooAds26
7059ff9
Merge remote-tracking branch 'upstream/master' into YahooAds26
68fc1c5
Yahoo Ads: strip superseded regs.ext copies so top-level always wins
81895da
Yahoo Ads: treat out-of-int-range regs.ext values as malformed
985da4b
Yahoo Ads: name the outbound OpenRTB version constant
e449b0d
Yahoo Ads: exercise regs.ext promotion in the integration test
219759f
Yahoo Ads: promote regs.ext once per request instead of per imp
7c56279
Yahoo Ads: drop coppa from the regs.ext promotion
b124a99
Yahoo Ads: reject fractional gpp_sid elements and pin promotion edge …
ff9cb8d
Yahoo Ads: drop stale coppa assertions from the wrong-type test
aa383ce
Yahoo Ads: remove coppa references from tests and comments
158a0eb
Yahoo Ads: pin top-level gpp_sid winning over a conflicting ext copy
1edf2eb
Yahoo Ads: pin empty top-level gpp counting as set
6e927d4
Yahoo Ads: pin the empty ext gpp_sid array as not promotable
b6fc04a
Yahoo Ads: pin the shared promoted regs across a multi-imp request
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I'm not sure you need all the
promote*methods, since we already do that for you (seeBidRequestOrtb25To26Converter).Also, is it even possible for
gpp,gppSid, andcoppato be inregs.ext? We don't even read them from there in the privacy services.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.
Thanks for the review @CTMBNara.
I looked into
BidRequestOrtb25To26Converteron this. It promotesgdprandus_privacyup fromregs.ext, but it doesn't touchgpp,gpp_sid, orcoppa, so those three don't get promoted for us anywhere in core. Let me know if I've missed something there.Main reason I kept the promotion was it's a no-op for normal requests (values are already top-level, so it skips), but if any arrive under
regs.extthey'd otherwise stay nested and get dropped on the way out. Since these are GPP/COPPA signals, I'd rather not risk silently losing one during the cutover. It only kicks in when the top-level field is empty, and leaves everything else inregs.extuntouched.