-
Notifications
You must be signed in to change notification settings - Fork 751
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
Rename indexExchange to ix (#657) #712
Conversation
@ix-certification This breaks many things :/. Prebid Mobile and AMP use Stored Requests. Every PBS host company has their own data, and all that data will still use We could deprecate it, and delete it in the distant future (after everyone host PBS has migrated their DB data)... but I don't think it's fair to delete it suddenly and with no window for migration. |
I agree that a transition phase would seem appropriate here -- run for a time with both the legacy @ix-certification - would you happen to have reports on how many requests come from the various Prebid Server clusters? |
One thing @mkendall07 did discover this morning: according to our metrics, So another option is that we could relax the input validation. Today, PBS returns a 4xx if you use an "unknown" bidder. It was designed that way to catch dumb typos or missing aliases.... but if we're ok losing that, we could run the other bidders and return a |
After some offline discussion, it seems dbemiller's last idea is the best. With a slight modification, we will relax the constraint to not 4xx any "deprecated" bidders, which will include the old name for the index exchange bidder, while leaving the general case intact (truely unknown bidders will still cause a 4xx). Once that PR goes in, we can merge this if no other issues come up in review. |
I was going through the legacy request validation logic to determine if the old name would be rejected there after this change. I found some index specific logic in
and another mention further down. What this bit does is configure each ad unit in a request to refer to a different instance of the Is this still an IndexExchange limitation? The openrtb2 converter that adapts the legacy bidder code to the openrtb2 spec would not do this split for index exchange, so there would need to be additional work to get this to work with openrtb2 if this limitation is still in place. |
Submitted PR #716 in support of this PR, so existing requests won't break when the name change happens. |
cb0a7b5
to
41ecc83
Compare
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.
Offline communication: Index exchange will submit a subsequent PR to fix the multiple imp
issue. Since we will go from non-working adapter -> partially working adapter -> working adapter, this is still a step forward, so I will approve.
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.
Two tiny suggestions... but not at all worth delaying the PR for, given the severity of the issue being fixed.
func (a *IndexAdapter) Name() string { | ||
return "indexExchange" | ||
func (a *IxAdapter) Name() string { | ||
return "ix" |
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.
Should return the constant, openrtb_ext.BidderIx
here.
Width: bid.W, | ||
Height: bid.H, | ||
DealId: bid.DealID, | ||
CreativeMediaType: "banner", |
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.
Should use the openrtb_ext.BidTypeBanner
constant here.
indexExchange
toix
siteId
being incorrect type, Prebid.js sends as a string.