Skip to content

Commit

Permalink
fix wipesAdapter CPM culclation (#5330)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tosh39 authored Jun 4, 2020
1 parent 70cc469 commit 77705e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/wipesBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function buildRequests(validBidRequests, bidderRequest) {
function interpretResponse(serverResponse, bidRequest) {
const bidResponses = [];
const response = serverResponse.body;
const cpm = response.cpm * 1000 || 0;
const cpm = response.cpm || 0;
if (cpm !== 0) {
const netRevenue = (response.netRevenue === undefined) ? true : response.netRevenue;
const bidResponse = {
Expand Down

0 comments on commit 77705e8

Please sign in to comment.