Skip to content

Commit

Permalink
ViantOrtb Bid Adapter : called replaceAuctionMacro to replace Auction…
Browse files Browse the repository at this point in the history
…_Price (#11398)

* Called replaceAuctionMacro in viantOrtbBidAdapter to replace Auction_Price

* fixed changes
  • Loading branch information
skapoor-viant authored Apr 25, 2024
1 parent 546595f commit cbbd524
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));
} else if (bid.nurl) {
utils.triggerPixel(bid.nurl);
utils.replaceAuctionPrice(bid.nurl, bid.price);
utils.triggerPixel(utils.replaceAuctionPrice(bid.nurl, bid.originalCpm || bid.cpm));
}
}
}
Expand Down

0 comments on commit cbbd524

Please sign in to comment.