Skip to content

Commit

Permalink
Changed net revenue to True (prebid#6387)
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-azhar-mulla authored and stsepelin committed May 28, 2021
1 parent 527e2c9 commit 967f3a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/pubmaticBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const NATIVE_MINIMUM_REQUIRED_IMAGE_ASSETS = [
}
]

const NET_REVENUE = false;
const NET_REVENUE = true;
const dealChannelValues = {
1: 'PMP',
5: 'PREF',
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/pubmaticBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2614,7 +2614,7 @@ describe('PubMatic adapter', function () {
}
expect(response[0].dealId).to.equal(bidResponses.body.seatbid[0].bid[0].dealid);
expect(response[0].currency).to.equal('USD');
expect(response[0].netRevenue).to.equal(false);
expect(response[0].netRevenue).to.equal(true);
expect(response[0].ttl).to.equal(300);
expect(response[0].meta.networkId).to.equal(123);
expect(response[0].adserverTargeting.hb_buyid_pubmatic).to.equal('BUYER-ID-987');
Expand All @@ -2638,7 +2638,7 @@ describe('PubMatic adapter', function () {
}
expect(response[1].dealId).to.equal(bidResponses.body.seatbid[1].bid[0].dealid);
expect(response[1].currency).to.equal('USD');
expect(response[1].netRevenue).to.equal(false);
expect(response[1].netRevenue).to.equal(true);
expect(response[1].ttl).to.equal(300);
expect(response[1].meta.networkId).to.equal(422);
expect(response[1].adserverTargeting.hb_buyid_pubmatic).to.equal('BUYER-ID-789');
Expand Down

0 comments on commit 967f3a3

Please sign in to comment.