Skip to content

Commit

Permalink
Refactor bid response - remove unnecessary properties (#3807)
Browse files Browse the repository at this point in the history
  • Loading branch information
Salomon Rada authored and Mike Chowla committed May 27, 2019
1 parent c006a6a commit a7953e4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/cleanmedianetBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,14 @@ export const spec = {

bids.forEach(bid => {
const outBid = {
adId: bidRequest.bidRequest.adUnitCode,
requestId: bidRequest.bidRequest.bidId,
cpm: bid.price,
width: bid.w,
height: bid.h,
ttl: 60 * 10,
creativeId: bid.crid,
creativeId: bid.crid || bid.adid,
netRevenue: true,
currency: bid.cur || response.cur,
adUnitCode: bidRequest.bidRequest.adUnitCode,
mediaType: helper.getMediaType(bid)
};

Expand Down

0 comments on commit a7953e4

Please sign in to comment.