diff --git a/modules/kargoBidAdapter.js b/modules/kargoBidAdapter.js index 7bb8e580f2a..ff56c97e7b7 100644 --- a/modules/kargoBidAdapter.js +++ b/modules/kargoBidAdapter.js @@ -73,8 +73,8 @@ export const spec = { let meta; if (adUnit.metadata && adUnit.metadata.landingPageDomain) { meta = { - clickUrl: adUnit.metadata.landingPageDomain, - advertiserDomains: [adUnit.metadata.landingPageDomain] + clickUrl: adUnit.metadata.landingPageDomain[0], + advertiserDomains: adUnit.metadata.landingPageDomain }; } bidResponses.push({ diff --git a/test/spec/modules/kargoBidAdapter_spec.js b/test/spec/modules/kargoBidAdapter_spec.js index 43968bbef5a..1eb514e87d2 100644 --- a/test/spec/modules/kargoBidAdapter_spec.js +++ b/test/spec/modules/kargoBidAdapter_spec.js @@ -484,7 +484,7 @@ describe('kargo adapter tests', function () { height: 250, targetingCustom: 'dmpmptest1234', metadata: { - landingPageDomain: 'https://foobar.com' + landingPageDomain: ['https://foobar.com'] } }, 3: {