From 60a28cae302b711366dab0bff9f49b11862fb8ee Mon Sep 17 00:00:00 2001 From: Fatih Kaya Date: Wed, 26 Apr 2023 21:21:16 +0300 Subject: [PATCH] Update admaticBidAdapter.js --- modules/admaticBidAdapter.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/admaticBidAdapter.js b/modules/admaticBidAdapter.js index 2c1b68af258..a6a4a5d1e63 100644 --- a/modules/admaticBidAdapter.js +++ b/modules/admaticBidAdapter.js @@ -104,7 +104,9 @@ export const spec = { height: bid.height, currency: body.cur || 'TRY', netRevenue: true, - ad: bid.party_tag, + ad: bid.type == "banner" ? bid.party_tag : undefined, + vastXml: bid.type == "video" ? bid.party_tag : undefined, + vastImpUrl: bid.type == "video" ? bid.iurl : undefined, creativeId: bid.creative_id, meta: { advertiserDomains: bid && bid.adomain ? bid.adomain : []