diff --git a/modules/ixBidAdapter.js b/modules/ixBidAdapter.js index e2a712e0afc..a96b0da132b 100644 --- a/modules/ixBidAdapter.js +++ b/modules/ixBidAdapter.js @@ -496,6 +496,11 @@ function parseBid(rawBid, currency, bidRequest) { if (rawBid.ext?.dsa) { bid.meta.dsa = rawBid.ext.dsa } + + if (rawBid.ext?.ibv) { + bid.ext = bid.ext || {} + bid.ext.ibv = rawBid.ext.ibv + } return bid; } diff --git a/test/spec/modules/ixBidAdapter_spec.js b/test/spec/modules/ixBidAdapter_spec.js index 5f75e224b50..e0fc7d5affd 100644 --- a/test/spec/modules/ixBidAdapter_spec.js +++ b/test/spec/modules/ixBidAdapter_spec.js @@ -616,7 +616,8 @@ describe('IndexexchangeAdapter', function () { dspid: 50, pricelevel: '_100', advbrandid: 303325, - advbrand: 'OECTA' + advbrand: 'OECTA', + ibv: true }, adm: '' } @@ -3608,6 +3609,9 @@ describe('IndexexchangeAdapter', function () { brandId: 303325, brandName: 'OECTA', advertiserDomains: ['www.abc.com'] + }, + ext: { + ibv: true } } ]; @@ -3719,6 +3723,9 @@ describe('IndexexchangeAdapter', function () { brandId: 303325, brandName: 'OECTA', advertiserDomains: ['www.abc.com'] + }, + ext: { + ibv: true } } ]; @@ -3775,6 +3782,9 @@ describe('IndexexchangeAdapter', function () { brandId: 303325, brandName: 'OECTA', advertiserDomains: ['www.abc.com'] + }, + ext: { + ibv: true } } ];