You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bidsBackHandler is called with an empty object when no bids are available (added after #3197). bidsBackHandler should be called with the auction object to allow to refresh relevant slots.
e.g. if several auctions are initiated one after the other on multiple dynamically loaded slots, each slot / group of slots should be refreshed separately, calling a generic refresh would cause all slots to refresh - and that's not wanted behavior.
Steps to reproduce
Call pbjs.requestBids with timeout of 10 so that all auctions timeout and a bidsBackHandler with 1-2 adUnits, not all.
Wait for auction to end
bidsBackHandler called with empty object as first argument.
First bidsBackHandler parameter to be a list of bids for each adUnit, or the auction object sent in auctionEnd - so it can be used to identify which adUnits bidded on.
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.
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.
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.
Type of issue
Bug
Description
bidsBackHandler
is called with an empty object when no bids are available (added after #3197).bidsBackHandler
should be called with the auction object to allow to refresh relevant slots.e.g. if several auctions are initiated one after the other on multiple dynamically loaded slots, each slot / group of slots should be refreshed separately, calling a generic
refresh
would cause all slots to refresh - and that's not wanted behavior.Steps to reproduce
pbjs.requestBids
with timeout of10
so that all auctions timeout and abidsBackHandler
with 1-2 adUnits, not all.bidsBackHandler
called with empty object as first argument.Test page
Expected results
First
bidsBackHandler
parameter to be a list of bids for each adUnit, or the auction object sent inauctionEnd
- so it can be used to identify which adUnits bidded on.Actual results
Empty object.
Platform details
Prebid 3.18.0
Chrome, Mac OS
Other information
Related:
The text was updated successfully, but these errors were encountered: