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
It appears there is no method to get the quickly get the winning bidder info straight away in the main callback. Currently I'm using
var oWinnerInfo = pbjs.getAdserverTargeting()[ sMyAdDivId ];
to give me the winning bidder's name and the price bucket. It seems like there should be a method to get the full info directly, or the bidResponses obj which gets passed to bidsBackHandler should mark the winner or priority order somehow. Unless I'm missing something? :)
Backup question: when two bidders bid the same amount, how is the winning decision made? Is response time taken into account?
Thanks to anyone who can provide some info, or tell me to read the code more thoroughly!
The text was updated successfully, but these errors were encountered:
tomraa
changed the title
Cleanest way to get the winning bidder?
Cleanest way to get the winning bidder/priority order?
May 25, 2016
Silly me, have finally come across onEvent('bidWon', callback) for getting the winner. Leaving this open in case anyone can answer the second question^.
It appears there is no method to get the quickly get the winning bidder info straight away in the main callback. Currently I'm using
var oWinnerInfo = pbjs.getAdserverTargeting()[ sMyAdDivId ];
to give me the winning bidder's name and the price bucket. It seems like there should be a method to get the full info directly, or the bidResponses obj which gets passed to bidsBackHandler should mark the winner or priority order somehow. Unless I'm missing something? :)
Backup question: when two bidders bid the same amount, how is the winning decision made? Is response time taken into account?
Thanks to anyone who can provide some info, or tell me to read the code more thoroughly!
The text was updated successfully, but these errors were encountered: