From 0b2498ceaab4a7ca4f3e99fab9a1578e7003f5ff Mon Sep 17 00:00:00 2001 From: ctylim Date: Wed, 27 Nov 2024 17:45:35 +0900 Subject: [PATCH 1/2] fix net revenue --- modules/unicornBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/unicornBidAdapter.js b/modules/unicornBidAdapter.js index 43eb943f6d5..ac81e124b66 100644 --- a/modules/unicornBidAdapter.js +++ b/modules/unicornBidAdapter.js @@ -135,7 +135,7 @@ const interpretResponse = (serverResponse, request) => { ad: b.adm, ttl: 1000, creativeId: b.crid, - netRevenue: false, + netRevenue: true, currency: res.cur } From 3aaf69746b24e0f47b9a10a43c424a45cba3c152 Mon Sep 17 00:00:00 2001 From: ctylim Date: Thu, 28 Nov 2024 13:21:00 +0900 Subject: [PATCH 2/2] fix spec --- test/spec/modules/unicornBidAdapter_spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/spec/modules/unicornBidAdapter_spec.js b/test/spec/modules/unicornBidAdapter_spec.js index bd9175dac1e..ffde4451bdb 100644 --- a/test/spec/modules/unicornBidAdapter_spec.js +++ b/test/spec/modules/unicornBidAdapter_spec.js @@ -462,7 +462,7 @@ const interpretedBids = [ ad: '
test
', ttl: 1000, creativeId: 'ABCDE', - netRevenue: false, + netRevenue: true, currency: 'JPY' }, { requestId: '31e2b28ced2475', @@ -472,7 +472,7 @@ const interpretedBids = [ ad: '
test
', ttl: 1000, creativeId: 'abcde', - netRevenue: false, + netRevenue: true, currency: 'JPY' }, { requestId: '40a333e047a9bd', @@ -482,7 +482,7 @@ const interpretedBids = [ ad: '
test
', ttl: 1000, creativeId: 'XYZXYZ', - netRevenue: false, + netRevenue: true, currency: 'JPY' } ];