Skip to content

Commit

Permalink
Merge pull request prebid#276 from nextmillenniummedia/PB-870-bug/PBS…
Browse files Browse the repository at this point in the history
…-impression-release-tag

added release tag to imppression pixel
  • Loading branch information
mhlm authored Jul 19, 2023
2 parents 6239c91 + acea46a commit 7c24818
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exchange/exchange.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
"github.com/prebid/prebid-server/stored_requests"
"github.com/prebid/prebid-server/usersync"
"github.com/prebid/prebid-server/util/maputil"
"github.com/prebid/prebid-server/version"

"github.com/buger/jsonparser"
"github.com/gofrs/uuid"
Expand Down Expand Up @@ -1097,7 +1098,8 @@ func (e *exchange) makeBid(
iframeSrc := impressionURLReplacer.Replace(e.nextmillmediaImpressionUrl)
iframeSrc += "&unit_id=" + strconv.Itoa(dataForStatistic.UnitID) + "&oxWinningBid=${AUCTION_PRICE:OXCRYPT}" +
"&browser_name=" + targetings.BrowserName + "&device_type=" + targetings.DeviceType +
"&refresh=" + strconv.Itoa(targetings.RefreshCount) + "&country_name=" + targetings.Geo.Country
"&refresh=" + strconv.Itoa(targetings.RefreshCount) + "&country_name=" + targetings.Geo.Country +
"&release_tag=" + version.Ver

if adapterName != "nmbid" || !pixelUseNURL {
if bid.bidType == openrtb_ext.BidTypeVideo {
Expand Down

0 comments on commit 7c24818

Please sign in to comment.