Skip to content

Commit 05abc0a

Browse files
authored
Admixer Bid Adapter: add meta key to response (#6674)
1 parent 70ba6cb commit 05abc0a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

modules/admixerBidAdapter.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ export const spec = {
7575
currency: bidResponse.currency,
7676
vastUrl: bidResponse.vastUrl,
7777
dealId: bidResponse.dealId,
78+
/**
79+
* currently includes meta.advertiserDomains ; networkId ; advertiserId
80+
*/
81+
meta: bidResponse.meta,
7882
};
7983
bidResponses.push(bidResp);
8084
});

test/spec/modules/admixerBidAdapter_spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ describe('AdmixerAdapter', function () {
103103
'netRevenue': false,
104104
'bidId': '5e4e763b6bc60b',
105105
'dealId': 'asd123',
106+
'meta': {'advertiserId': 123, 'networkId': 123, 'advertiserDomains': ['test.com']}
106107
}]
107108
}
108109
};
@@ -122,6 +123,7 @@ describe('AdmixerAdapter', function () {
122123
'netRevenue': ads[0].netRevenue,
123124
'ttl': ads[0].ttl,
124125
'dealId': ads[0].dealId,
126+
'meta': {'advertiserId': 123, 'networkId': 123, 'advertiserDomains': ['test.com']}
125127
}
126128
];
127129

0 commit comments

Comments
 (0)