Skip to content

Commit 32aa37f

Browse files
Yann-Pravodbemiller
authored andcommitted
force cpm to be a number (#1161)
1 parent ee60049 commit 32aa37f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bidmanager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ exports.addBidResponse = function (adUnitCode, bid) {
105105
requestId: requestId,
106106
responseTimestamp: timestamp(),
107107
requestTimestamp: start,
108-
cpm: bid.cpm || 0,
108+
cpm: parseFloat(bid.cpm) || 0,
109109
bidder: bid.bidderCode,
110110
adUnitCode
111111
});

0 commit comments

Comments
 (0)