-
Notifications
You must be signed in to change notification settings - Fork 765
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
Sovrn Adapter has a type mismatch with the bidfloor parameter #3514
Comments
@ikagotso - can you take a look at this? The best solution, IMO, is to remove the bidfloor parameter entirely. Your adapter should be using the Prebid Server-wide floors feature. |
Note, this is also a string in PBS-Go https://github.com/prebid/prebid-server/blob/master/static/bidder-params/sovrn.json |
Friendly ping @ikagotso, have you had time to look at this issue? |
@SyntaxNode |
We have opened a PR with a fix. |
PR to fix this is already merged. |
Which PR was is @ikagotso ? I don't see it either PBS-Go or PBS-Java repo |
Thanks @ikagotso -- that may be helpful in the long run, but publishers don't upgrade Prebid.js often so the mismatch is going to persist for years in the wild. You're going to want to update your server-side adapter accept either string or number since Prebid Servers are upgraded much more frequently by host companies. This can be done in in the JSON file https://github.com/prebid/prebid-server/blob/master/static/bidder-params/sovrn.json and by writing a unit test to make sure the adapter itself handles the scenario. |
@ikagotso - this is still an issue in both PBS-Go and PBS-Java. Please fix your adapter:
OR
|
@bretg |
If the
bidfloor
parameter is used as defined in the prebid.js docs but sent to PBS you get the following error messageLooks like the PBS Java Sovrn Adapter is looking for a number
https://github.com/prebid/prebid-server-java/blob/70f5b9ad65796559d3ff884fe917dd41bfaa786b/src/main/resources/static/bidder-params/sovrn.json#L15
While the PBJS Sovrn Adapter expects a string
https://docs.prebid.org/dev-docs/bidders/sovrn.html
The text was updated successfully, but these errors were encountered: