diff --git a/modules/pubwiseBidAdapter.js b/modules/pubwiseBidAdapter.js index 4801aa54329..d1b4fbcb0e6 100644 --- a/modules/pubwiseBidAdapter.js +++ b/modules/pubwiseBidAdapter.js @@ -503,19 +503,10 @@ function _parseSlotParam(paramName, paramValue) { function _parseAdSlot(bid) { _logInfo('parseAdSlot bid', bid) bid.params.adUnit = ''; - bid.params.adUnitIndex = '0'; bid.params.width = 0; bid.params.height = 0; bid.params.adSlot = _cleanSlotName(bid.params.adSlot); - var slot = bid.params.adSlot; - var splits = slot.split(':'); - - slot = splits[0]; - if (splits.length == 2) { - bid.params.adUnitIndex = splits[1]; - } - if (bid.hasOwnProperty('mediaTypes')) { if (bid.mediaTypes.hasOwnProperty(BANNER) && bid.mediaTypes.banner.hasOwnProperty('sizes')) { // if its a banner, has mediaTypes and sizes diff --git a/test/spec/modules/pubwiseBidAdapter_spec.js b/test/spec/modules/pubwiseBidAdapter_spec.js index 72c14d03861..450b028f6c7 100644 --- a/test/spec/modules/pubwiseBidAdapter_spec.js +++ b/test/spec/modules/pubwiseBidAdapter_spec.js @@ -227,15 +227,14 @@ const sampleBidderBannerRequest = { 'siteId': 'xxxxxx', 'height': 250, 'width': 300, - 'adUnitIndex': '0', - 'adUnit': '', - 'adSlot': '', 'gender': 'M', 'yob': '2000', 'lat': '33.91989876432274', 'lon': '-84.38897708175764', 'bidFloor': '1.00', 'currency': 'USD', + 'adSlot': '', + 'adUnit': '', 'bcat': [ 'IAB25-3', 'IAB26-1',