Skip to content

Commit

Permalink
Adds advertiserDomains to kargo adapter (#5625)
Browse files Browse the repository at this point in the history
* Update kargoBidAdapter.js

* Update kargoBidAdapter_spec.js
  • Loading branch information
patmmccann authored Aug 18, 2020
1 parent 3b5a747 commit fb72d51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/kargoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ export const spec = {
let meta;
if (adUnit.metadata && adUnit.metadata.landingPageDomain) {
meta = {
clickUrl: adUnit.metadata.landingPageDomain
clickUrl: adUnit.metadata.landingPageDomain,
advertiserDomains: [adUnit.metadata.landingPageDomain]
};
}
bidResponses.push({
Expand Down
3 changes: 2 additions & 1 deletion test/spec/modules/kargoBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,8 @@ describe('kargo adapter tests', function () {
netRevenue: true,
currency: 'USD',
meta: {
clickUrl: 'https://foobar.com'
clickUrl: 'https://foobar.com',
advertiserDomains: ['https://foobar.com']
}
}, {
requestId: '3',
Expand Down

0 comments on commit fb72d51

Please sign in to comment.