-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
add Dichange Bid Adapter #12215
add Dichange Bid Adapter #12215
Conversation
Spoke about this with @ChrisHuie . There's an open question about what happens when PBJS sees the "bidderA" biddercode and finds both a base adapter and one or more aliases. We should document what it does: break? base adapter? first base adapter that has bidderA as an alias? In any case, I would propose that PBJS should (A) not break, (B) choose the base adapter by default, and (C) allow the publisher to override this behavior with pbjs.aliasBidder(). That would make this kind of operation not breaking in general. Here are a couple of scenarios: Aliased biddercode converted to a standalone base adapterThis is what @Chucky-choo is trying to do here, though I disagree with PR #12203 -- removing the alias does create a breaking change. Time 1
Note that if digitalmatterBidAdapter.js stops listing dichange as an alias, the publisher would be forced to change their build, causing a breaking change. Time 2
Time 3
Formerly standalone biddercode converted to an alias in a new base adapterThis isn't what's happening in this PR, but for sake of completeness and because Magnite is going to do this next year, thought it worth working through. Time 1
Time 2
Time 3
Time 4
|
@bretg Thank you for your attention to this matter. After internal discussions, we concluded that the most transparent approach is to keep the PBJS package with digitalmatterBidAdapter.js, where ‘dichange’ remains as an alias. Therefore, we’re withdrawing this PR, and in PR #12203, we won’t be removing the alias. |
@Chucky-choo please let us know on #12001 if you want to do a change in the next version |
Type of change
Description of change
Other information
Docs PR: prebid/prebid.github.io#5591