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

Fix: Set bid meta adaptercode to adapter name #3661

Merged
merged 3 commits into from
May 9, 2024

Conversation

bsardo
Copy link
Collaborator

@bsardo bsardo commented May 6, 2024

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 the adaptercode 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 the adaptercode.

@bsardo
Copy link
Collaborator Author

bsardo commented May 6, 2024

Copy link
Contributor

@AlexBVolcy AlexBVolcy left a 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": {
Copy link
Contributor

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?

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

@guscarreon guscarreon merged commit 2c39db7 into prebid:master May 9, 2024
3 checks passed
mefjush pushed a commit to adhese/prebid-server that referenced this pull request Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants