Skip to content

Commit

Permalink
Added support to log extra bids from same bidder (prebid#8886)
Browse files Browse the repository at this point in the history
Co-authored-by: pm-azhar-mulla <[email protected]>
  • Loading branch information
2 people authored and jorgeluisrocha committed May 18, 2023
1 parent b3b1e2b commit 674bd56
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 674bd56

Please sign in to comment.