Skip to content

Commit

Permalink
Called replaceAuctionMacro in viantOrtbBidAdapter to replace Auction_…
Browse files Browse the repository at this point in the history
…Price
  • Loading branch information
skapoor-viant authored Apr 25, 2024
1 parent 0fd106d commit e0bd690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/viantOrtbBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ export const spec = {
onBidWon: function (bid) {
if (bid.burl) {
utils.triggerPixel(bid.burl);
utils.replaceAuctionPrice(bid.burl, bid.price);
utils.triggerPixel(utils.replaceAuctionPrice(bid.burl, bid.originalCpm || bid.cpm || bid.price));
} else if (bid.nurl) {
utils.triggerPixel(bid.nurl);
utils.replaceAuctionPrice(bid.nurl, bid.price);
utils.triggerPixel(utils.replaceAuctionPrice(bid.nurl, bid.originalCpm || bid.cpm || bid.price));
}
}
}
Expand Down

0 comments on commit e0bd690

Please sign in to comment.