-
Notifications
You must be signed in to change notification settings - Fork 758
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
Fix: Set bid meta adaptercode to adapter name #3661
Conversation
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 looks good, left one minor comment
@@ -0,0 +1,64 @@ | |||
{ | |||
"description": "Imp extension references valid bidder alias of appnexus defined in the request ext.prebid.aliases field.", | |||
"config": { |
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.
is this config supposed to be empty, or can it be deleted?
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.
LGTM
This addresses most of #3363. With this fix,
seatbid[].bid[].ext.prebid.meta.adaptercode
will be set to the adapter name in the request alias and alternate bidder code use cases.In the hard alias case, the adaptercode is still set to the hard alias. This is a larger change that will be addressed in its own PR.
In this PR I also removed all references to
adaptercode
in the exchange JSON tests since they no longer serve a purpose as the exchange tests mock objects that contain theadaptercode
logic. As such, I made some updates to the auction endpoint tests that allow us to verify the request alias, hard alias and alternate bidder code logic work correctly with respect to theadaptercode
.