-
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
No floor price set in prebidServerBidAdapter #8307
Comments
This needs fixing regardless, but I'm surprised that |
Thanks @dgirardi for the immediate feedback 😊 The bidfloor is determined in the client and passed to all bidders regardless if server or client side. |
I am unable to reproduce - using this setup:
bidfloor does get populated: |
I did find what I think is an unrelated issue, the way the PBS calls Prebid.js/modules/prebidServerBidAdapter/index.js Lines 763 to 765 in d4c057a
@ChrisHuie, is this a known issue? |
Thanks for your fast feedback :)
|
@rmattis, I do see the issue now, thanks! however, I don't think it's related to any recent change - I still get the same behavior in 6.16.0 The problem is that it looks for a bid from the first bidder for the second adUnit - when the first bidder did not bid on it. Are you confident this is what you were seeing, or do you think you might have seen something else related to that |
@dgirardi Yeah you're right. It seems the In our case With version 6.16.0, |
This addresses prebid#8307 by picking what's likely to be the minimum floor for an adUnit (instead of just looking at the floor defined by the first request it finds, which may not be there)
#8309 should address the issue in here. Regarding my previous comment about |
…est (#8309) * PBS adapter: fix bug with priceFloors sometimes not being set in request This addresses #8307 by picking what's likely to be the minimum floor for an adUnit (instead of just looking at the floor defined by the first request it finds, which may not be there) * Do not send pricefloor if any bid cannot provide one * Test errors from currency conversion * Revert whitespace changes * fix spepelling
…est (prebid#8309) * PBS adapter: fix bug with priceFloors sometimes not being set in request This addresses prebid#8307 by picking what's likely to be the minimum floor for an adUnit (instead of just looking at the floor defined by the first request it finds, which may not be there) * Do not send pricefloor if any bid cannot provide one * Test errors from currency conversion * Revert whitespace changes * fix spepelling
Type of issue
Bug
Description
We encountered a problem with the
prebidServerBidAdapter
whereimp.bidfloor
andimp.bidfloorcur
in the request is not set.We debugged this and found that the bug was added with version 6.17.0.
If the first bidder in a request is not configured for all adUnits, the
bidfloor
andbidfloorcur
is not set for all adUnits where this bidder is not configured.Prebid.js/modules/prebidServerBidAdapter/index.js
Line 710 in d4c057a
This line is probably what causes the bug and was added with #8154
The main problem is that only the first prebid request is used to receive the floor price for all bidders:
Prebid.js/modules/prebidServerBidAdapter/index.js
Line 537 in d4c057a
Prebid.js/modules/prebidServerBidAdapter/index.js
Lines 758 to 773 in d4c057a
Steps to reproduce
Test page
None
Expected results
ad-slot-2 prebid server request should contain
bidfloor
andbidfloorcur
Actual results
ad-slot-2 prebid server request doesn't contain
bidfloor
andbidfloorcur
Platform details
prebid.js version > 6.17.0
Other information
Probably changes from #8154 cause this bug
The text was updated successfully, but these errors were encountered: