From 11cd46f2d8b40532edc535e9ebdbd2fa2088fe13 Mon Sep 17 00:00:00 2001 From: Jaimin Panchal Date: Tue, 19 Sep 2017 09:51:28 -0400 Subject: [PATCH] Pass bidRequest to createBid --- modules/districtmDMXBidAdapter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/districtmDMXBidAdapter.js b/modules/districtmDMXBidAdapter.js index 65a51ecc475..1eed5f2150e 100644 --- a/modules/districtmDMXBidAdapter.js +++ b/modules/districtmDMXBidAdapter.js @@ -19,7 +19,7 @@ var DistrictmAdaptor = function districtmAdaptor() { this.handlerRes = function(response, bidObject) { let bid; if (parseFloat(response.result.cpm) > 0) { - bid = bidfactory.createBid(1); + bid = bidfactory.createBid(1, bidObject); bid.bidderCode = bidObject.bidder; bid.cpm = response.result.cpm; bid.width = response.result.width; @@ -27,7 +27,7 @@ var DistrictmAdaptor = function districtmAdaptor() { bid.ad = response.result.banner; bidmanager.addBidResponse(bidObject.placementCode, bid); } else { - bid = bidfactory.createBid(2); + bid = bidfactory.createBid(2, bidObject); bid.bidderCode = bidObject.bidder; bidmanager.addBidResponse(bidObject.placementCode, bid); }