Skip to content

Commit

Permalink
Merge pull request #2 from 3-shake/feature/add_wipes_update_params
Browse files Browse the repository at this point in the history
fix param names
  • Loading branch information
Tosh39 authored Apr 6, 2020
2 parents aef2401 + b5a8e4c commit 95d47a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions modules/wipesBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
6 changes: 3 additions & 3 deletions test/spec/modules/wipesBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ describe('wipesBidAdapter', function () {
let serverResponseVideo = {
body: {
'uuid': 'a42947f8-f8fd-4cf7-bb72-31a87ab1f6ff',
'adTag': '<!-- adtag -->',
'ad_tag': '<!-- adtag -->',
'height': 160,
'width': 300,
'cpm': 850,
'statusMessage': '',
'status_message': '',
'currency': 'JPY',
'videoCreativeId': 600004
'video_creative_id': 600004
}
};

Expand Down

0 comments on commit 95d47a1

Please sign in to comment.