Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/openxAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ function buildAuctionPayload(auction) {
} = bidderBidResponse;

return {
microCpm: cpm * 1000,
microCpm: cpm * 1000000,
netRevenue,
currency,
mediaType,
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/openxAnalyticsAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1014,8 +1014,8 @@ describe('openx analytics adapter', function() {
});

it('should track the cpm in microCPM', function () {
expect(openxBidResponse.microCpm).to.equal(bidResponseOpenX.cpm * 1000);
expect(closexBidResponse.microCpm).to.equal(bidResponseCloseX.cpm * 1000);
expect(openxBidResponse.microCpm).to.equal(bidResponseOpenX.cpm * 1000000);
expect(closexBidResponse.microCpm).to.equal(bidResponseCloseX.cpm * 1000000);
});

it('should track if the bid is in net revenue', function () {
Expand Down