getAdserverTargeting() does returns empty targeting for adUnit slots
Type of issue
Bug
Description
Since 1.15.0 getAdserverTargeting() or related methods are not returning targeting for adUnit slots
Steps to reproduce
Anywhere after auctionEnd event fire getAdserverTargeting() method.
Expected results
Targeting for specified adUnit slots
Actual results
Empty Taregeting for adUnit slots
Platform details
Prebid 1.15.0
Other information
This change from latest release is probably the source of issue: https://github.com/prebid/Prebid.js/commit/c82572e0d2c9d4530c67fa9e0a8c9490c07c3e1e
Anyone else encounters same problem?
@Saigredan just on a matter of interest - where do you use getAdserverTargeting() method call?
@YOzaz We're using it for some internal communication methods. Usually after auction is finished.
@Saigredan the reason behind is here: https://github.com/prebid/Prebid.js/issues/2676 and here: https://github.com/prebid/Prebid.js/issues/2685. I'm not 100% sure how this fix "fixes" auction concurrency problem, but @jaiminpanchal27 may have more comments on it?
@YOzaz well, after rollbacking https://github.com/prebid/Prebid.js/commit/c82572e0d2c9d4530c67fa9e0a8c9490c07c3e1e commit, all started to work just fine (except thing we noted in other Issue https://github.com/prebid/Prebid.js/issues/2752)
I will take a look at issues you attached
@Saigredan this commit / bugfix solved concurrent auctions issue, when multiple requests for bids were done at the same time - which is actual in our case e.g., as we're lazy-loading ads.
@YOzaz I see. I will take a deeper look
@YOzaz @Saigredan I added c82572e commit, because getAdserverTargeting() was including all bids received to get targeting.
What it should be doing is select bid from bid pool, and apply following filters
- should be unused bid
- should not be expired
@saigredan can we close this?
@harpere yes, please :)