Skip to content

Commit

Permalink
Seeding alliance Adapter: multiple replacement of auction price bugfix (
Browse files Browse the repository at this point in the history
#8256)

* add seedingAlliance Adapter

* add two native default params

* ...

* ...

* seedingAlliance Adapter: add two more default native params

* updating seedingAlliance Adapter

* seedingAlliance Adapter

* quickfix no bids + net revenue

* bugfix replace auction price

Co-authored-by: Jonas Hilsen <hilsen@seeding-alliance.de>
  • Loading branch information
SeedingAllianceTech and sag-jonhil authored Apr 5, 2022
1 parent 1153c70 commit 14cdd2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/seedingAllianceBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ function parseNative(bid) {

if (link.clicktrackers) {
link.clicktrackers.forEach(function (clicktracker, index) {
link.clicktrackers[index] = clicktracker.replace(/\$\{AUCTION_PRICE\}/, bid.price);
link.clicktrackers[index] = clicktracker.replace(/\$\{AUCTION_PRICE\}/g, bid.price);
});
}
if (imptrackers) {
imptrackers.forEach(function (imptracker, index) {
imptrackers[index] = imptracker.replace(/\$\{AUCTION_PRICE\}/, bid.price);
imptrackers[index] = imptracker.replace(/\$\{AUCTION_PRICE\}/g, bid.price);
});
}

Expand Down

0 comments on commit 14cdd2a

Please sign in to comment.