From b5a8e4c8459e76b8dc6623cba4c3b9f3020cc2da Mon Sep 17 00:00:00 2001 From: Tosh39 Date: Mon, 6 Apr 2020 21:22:02 +0900 Subject: [PATCH] fix param names --- modules/wipesBidAdapter.js | 6 +++--- test/spec/modules/wipesBidAdapter_spec.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/wipesBidAdapter.js b/modules/wipesBidAdapter.js index db545b0b44c..b18c98b8c09 100644 --- a/modules/wipesBidAdapter.js +++ b/modules/wipesBidAdapter.js @@ -49,14 +49,14 @@ function interpretResponse(serverResponse, bidRequest) { cpm: cpm, width: response.width, height: response.height, - creativeId: response.videoCreativeId || 0, - dealId: response.dealId, + creativeId: response.video_creative_id || 0, + dealId: response.deal_id, currency: 'JPY', netRevenue: netRevenue, ttl: config.getConfig('_bidderTimeout'), referrer: bidRequest.data.r || '', mediaType: BANNER, - ad: response.adTag, + ad: response.ad_tag, }; bidResponses.push(bidResponse); } diff --git a/test/spec/modules/wipesBidAdapter_spec.js b/test/spec/modules/wipesBidAdapter_spec.js index be7919b4bcb..b5935563526 100644 --- a/test/spec/modules/wipesBidAdapter_spec.js +++ b/test/spec/modules/wipesBidAdapter_spec.js @@ -100,13 +100,13 @@ describe('wipesBidAdapter', function () { let serverResponseVideo = { body: { 'uuid': 'a42947f8-f8fd-4cf7-bb72-31a87ab1f6ff', - 'adTag': '', + 'ad_tag': '', 'height': 160, 'width': 300, 'cpm': 850, - 'statusMessage': '', + 'status_message': '', 'currency': 'JPY', - 'videoCreativeId': 600004 + 'video_creative_id': 600004 } };