diff --git a/modules/kargoBidAdapter.js b/modules/kargoBidAdapter.js index 866f0e5a4bc..3027a8e75b8 100644 --- a/modules/kargoBidAdapter.js +++ b/modules/kargoBidAdapter.js @@ -88,6 +88,7 @@ export const spec = { } const bidResponse = { + ad: adUnit.adm, requestId: bidId, cpm: Number(adUnit.cpm), width: adUnit.width, @@ -103,8 +104,6 @@ export const spec = { if (meta.mediaType == VIDEO) { bidResponse.vastXml = adUnit.adm; - } else { - bidResponse.ad = adUnit.adm; } bidResponses.push(bidResponse); diff --git a/test/spec/modules/kargoBidAdapter_spec.js b/test/spec/modules/kargoBidAdapter_spec.js index 2f73af204e4..c7a14b3d5aa 100644 --- a/test/spec/modules/kargoBidAdapter_spec.js +++ b/test/spec/modules/kargoBidAdapter_spec.js @@ -572,6 +572,7 @@ describe('kargo adapter tests', function () { cpm: 2.5, width: 300, height: 250, + ad: '', vastXml: '', ttl: 300, creativeId: 'bar',