diff --git a/modules/sharethroughBidAdapter.js b/modules/sharethroughBidAdapter.js
index eef18288b17..68ccde0da46 100644
--- a/modules/sharethroughBidAdapter.js
+++ b/modules/sharethroughBidAdapter.js
@@ -109,6 +109,7 @@ export const sharethroughAdapterSpec = {
currency: 'USD',
netRevenue: true,
ttl: 360,
+ meta: { advertiserDomains: creative.creative && creative.creative.adomain ? creative.creative.adomain : [] },
ad: generateAd(body, req)
}];
},
diff --git a/modules/sovrnBidAdapter.js b/modules/sovrnBidAdapter.js
index 708cb110dbd..cba90e7d434 100644
--- a/modules/sovrnBidAdapter.js
+++ b/modules/sovrnBidAdapter.js
@@ -160,7 +160,8 @@ export const spec = {
netRevenue: true,
mediaType: BANNER,
ad: decodeURIComponent(`${sovrnBid.adm}`),
- ttl: sovrnBid.ext ? (sovrnBid.ext.ttl || 90) : 90
+ ttl: sovrnBid.ext ? (sovrnBid.ext.ttl || 90) : 90,
+ meta: { advertiserDomains: sovrnBid && sovrnBid.adomain ? sovrnBid.adomain : [] }
});
});
}
diff --git a/test/spec/modules/sharethroughBidAdapter_spec.js b/test/spec/modules/sharethroughBidAdapter_spec.js
index f741f985f9f..5c8e01536dd 100644
--- a/test/spec/modules/sharethroughBidAdapter_spec.js
+++ b/test/spec/modules/sharethroughBidAdapter_spec.js
@@ -473,7 +473,7 @@ describe('sharethrough adapter spec', function() {
describe('.interpretResponse', function() {
it('returns a correctly parsed out response', function() {
- expect(spec.interpretResponse(bidderResponse, prebidRequests[0])[0]).to.include(
+ expect(spec.interpretResponse(bidderResponse, prebidRequests[0])[0]).to.deep.include(
{
width: 1,
height: 1,
@@ -482,7 +482,8 @@ describe('sharethrough adapter spec', function() {
dealId: 'aDealId',
currency: 'USD',
netRevenue: true,
- ttl: 360
+ ttl: 360,
+ meta: { advertiserDomains: [] }
});
});
diff --git a/test/spec/modules/sovrnBidAdapter_spec.js b/test/spec/modules/sovrnBidAdapter_spec.js
index 1050fdf4856..729c48c28f4 100644
--- a/test/spec/modules/sovrnBidAdapter_spec.js
+++ b/test/spec/modules/sovrnBidAdapter_spec.js
@@ -387,7 +387,8 @@ describe('sovrnBidAdapter', function() {
'netRevenue': true,
'mediaType': 'banner',
'ad': decodeURIComponent(`>`),
- 'ttl': 60000
+ 'ttl': 60000,
+ 'meta': { advertiserDomains: [] }
}];
let result = spec.interpretResponse(response);
@@ -407,7 +408,8 @@ describe('sovrnBidAdapter', function() {
'netRevenue': true,
'mediaType': 'banner',
'ad': decodeURIComponent(``),
- 'ttl': 90
+ 'ttl': 90,
+ 'meta': { advertiserDomains: [] }
}];
let result = spec.interpretResponse(response);
@@ -428,7 +430,8 @@ describe('sovrnBidAdapter', function() {
'netRevenue': true,
'mediaType': 'banner',
'ad': decodeURIComponent(``),
- 'ttl': 90
+ 'ttl': 90,
+ 'meta': { advertiserDomains: [] }
}];
let result = spec.interpretResponse(response);
@@ -449,7 +452,8 @@ describe('sovrnBidAdapter', function() {
'netRevenue': true,
'mediaType': 'banner',
'ad': decodeURIComponent(``),
- 'ttl': 480
+ 'ttl': 480,
+ 'meta': { advertiserDomains: [] }
}];
let result = spec.interpretResponse(response);