diff --git a/modules/zemantaBidAdapter.js b/modules/zemantaBidAdapter.js index a787fab7d86..b2c00b69c24 100644 --- a/modules/zemantaBidAdapter.js +++ b/modules/zemantaBidAdapter.js @@ -25,6 +25,9 @@ const NATIVE_PARAMS = { export const spec = { code: BIDDER_CODE, gvlid: GVLID, + aliases: [ + { code: 'outbrain', gvlid: GVLID } + ], supportedMediaTypes: [ NATIVE, BANNER ], isBidRequestValid: (bid) => { return ( @@ -164,7 +167,11 @@ export const spec = { return syncs; }, onBidWon: (bid) => { - ajax(utils.replaceAuctionPrice(bid.nurl, bid.originalCpm)) + // for native requests we put the nurl as an imp tracker, otherwise if the auction takes place on prebid server + // the server JS adapter puts the nurl in the adm as a tracking pixel and removes the attribute + if (bid.nurl) { + ajax(utils.replaceAuctionPrice(bid.nurl, bid.originalCpm)) + } } };