diff --git a/modules/wipesBidAdapter.js b/modules/wipesBidAdapter.js index c60ffba0815..5a2c860130f 100644 --- a/modules/wipesBidAdapter.js +++ b/modules/wipesBidAdapter.js @@ -21,6 +21,7 @@ function isBidRequestValid(bid) { function buildRequests(validBidRequests, bidderRequest) { return validBidRequests.map(bidRequest => { + const bidId = bidRequest.bidId const params = bidRequest.params; const asid = params.asid; return { @@ -28,6 +29,7 @@ function buildRequests(validBidRequests, bidderRequest) { url: ENDPOINT_URL, data: { asid: asid, + bid_id: bidId, } } }); @@ -40,7 +42,7 @@ function interpretResponse(serverResponse, bidRequest) { if (cpm !== 0) { const netRevenue = (response.netRevenue === undefined) ? true : response.netRevenue; const bidResponse = { - requestId: response.uuid, + requestId: response.bid_id, cpm: cpm, width: response.width, height: response.height, diff --git a/modules/wipesBidAdapter.md b/modules/wipesBidAdapter.md index ce7d4289079..6bc91fa5e76 100644 --- a/modules/wipesBidAdapter.md +++ b/modules/wipesBidAdapter.md @@ -24,10 +24,11 @@ var adUnits = [ } }, bids: [{ - bidder: 'wipes', - params: { - asid: 'dWyPondh2EGB_bNlrVjzIXRZO9F0k1dpo0I8ZvQ' - } - }] + bidder: 'wipes', + params: { + asid: 'dWyPondh2EGB_bNlrVjzIXRZO9F0k1dpo0I8ZvQ' + bid_id: '51ef8751f9aead', + } + }] }] ``` diff --git a/test/spec/modules/wipesBidAdapter_spec.js b/test/spec/modules/wipesBidAdapter_spec.js index b5935563526..c453eca82c5 100644 --- a/test/spec/modules/wipesBidAdapter_spec.js +++ b/test/spec/modules/wipesBidAdapter_spec.js @@ -93,6 +93,7 @@ describe('wipesBidAdapter', function () { 'url': ENDPOINT_URL, 'data': { 'asid': 'dWyPondh2EGB_bNlrVjzIXRZO9F0k1dpo0I8ZvQ', + 'bid_id': '23beaa6af6cdde', } } ]; @@ -106,7 +107,8 @@ describe('wipesBidAdapter', function () { 'cpm': 850, 'status_message': '', 'currency': 'JPY', - 'video_creative_id': 600004 + 'video_creative_id': 600004, + 'bid_id': '23beaa6af6cdde' } };