Skip to content

Commit

Permalink
Added support to log extra bids from same bidder (#8886)
Browse files Browse the repository at this point in the history
Co-authored-by: pm-azhar-mulla <azhar@L1119.local>
  • Loading branch information
pm-azhar-mulla and pm-azhar-mulla authored Aug 23, 2022
1 parent 73c13cd commit 8d88902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pubmaticAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function bidResponseHandler(args) {
return;
}

if (bid.bidder && args.bidderCode && bid.bidder !== args.bidderCode) {
if ((bid.bidder && args.bidderCode && bid.bidder !== args.bidderCode) || (bid.bidder === args.bidderCode && bid.status === SUCCESS)) {
bid = copyRequiredBidDetails(args);
cache.auctions[args.auctionId].adUnitCodes[args.adUnitCode].bids[args.requestId].push(bid);
}
Expand Down

0 comments on commit 8d88902

Please sign in to comment.