Skip to content

Commit

Permalink
Add nurl to markup (#1601)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaiminpanchal27 authored and Matt Kendall committed Sep 19, 2017
1 parent 9d2342f commit 96754ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/prebidServerBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ function PrebidServer() {
bidObject.bidderCode = bidObj.bidder;
bidObject.cpm = cpm;
bidObject.ad = bidObj.adm;
if (bidObj.nurl) {
bidObject.ad += utils.createTrackPixelHtml(decodeURIComponent(bidObj.nurl));
}
bidObject.width = bidObj.width;
bidObject.height = bidObj.height;
bidObject.adserverTargeting = bidObj.ad_server_targeting;
Expand Down

0 comments on commit 96754ed

Please sign in to comment.