-
Notifications
You must be signed in to change notification settings - Fork 175
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
ImproveDigital Bid-Adapter Bad-Input Error #2942
Comments
Adding @improve-prebid-dev - we ported your adapter from PBS-Go to PBS-Java, but seems likely that the same issue will exist in Go as well. |
Hi @rmattis.
You are indeed correct. The current logic comes from a legacy implementation in the SSP and the SSP devs are working on a fix. We will submit an interim fix. |
Closed, dut to merged #2954 |
We were seeing increasing error-counter's for
improvedigital
for all of our prebid-server accounts that used ConsentManager as a CMP.When sending a debug request to our prebid-server, the following error occured in the bid response:
After some debugging, I could find a part of the string "3033~dv" in the
consent.ConsentedProvidersSettings.consented_providers
. For instance, we could reproduce the bug with2~3218.1375.70.7.1317.3186.3126.1703.1669.1097.2320.1329.2016.229.229.2213.1674.1799.2745.313.326.1344.1025.1902.1127.449.2567.469.1047.494.510.2776.3033~dv.
as value.According to Google, there seems to be a new standard: Additional Consent v2 which isn't respected by the ImproveDigital Adapter so far.
At this code-point the adapter only assumes one seperator symbol "~".
prebid-server-java/src/main/java/org/prebid/server/bidder/improvedigital/ImprovedigitalBidder.java
Line 101 in f0489f6
Fix
The fix on our self-hosted prebid-server, so far, was to add support also when the string contains more than one separator symbol:
I can also submit the fix as merge-request myself, but I think someone from ImproveDigital should have an eye on that issue before.
IMHO it's not the best practice anyway to parse this string as part of the prebid-server adapter as it gets sent in the bidRequest anyway. This implementation would probably be better suited on the SSP's server.
The text was updated successfully, but these errors were encountered: