Skip to content

Commit

Permalink
Add nurl to markup (prebid#1601)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaiminpanchal27 authored and jbAdyoulike committed Sep 21, 2017
1 parent 9cf0aec commit c46b821
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 c46b821

Please sign in to comment.