-
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
new NO_BID event and "no bids" available from auction #3286
Conversation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
sorry for the delay. Will get to this PR this week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I think we just need a docs PR for the new method?
@mkendall07 @snapwich hey we're waiting on this for an update to our analytics adapter, can I contribute to the docs and help with getting this moved along or is it in progress? |
@GLStephen nothing on my end in progress - feel free to work on it. Thanks! |
Sorry, thought I had already documented everything. The snippet has been updated but I guess we should add documentation for the new API method; just created a new pull-request for that feature. |
@snapwich @mkendall07 looks like docs are done, do you think this can make it into the next release? |
Type of change
Description of change
Added the a new event
NO_BID
which is fired for analytics and anything else interested in bidders not bidding. Since no bid is created when not bidding, theNO_BID
event sends the bid request that the bidder was notified of but decided not to respond to. The auction also keeps track of these bid requests that resulted in no bid and makes them available through a new API callpbjs.getNoBids()
, this is primarily for the updated debug snippet in prebid/prebid.github.io#1030Also added a fix for a potential bug with the new done callback refactoring (in #3024). The updated logic was relying on counting which can be problematic (for instance, if one bidder calls done more than once that could potentially end the auction early). New logic only ends auction if done has been heard from each bidder with a bidderRequest.
Other information
fixes #2640 and is a replacement solution for #3022