From f381a453f9389bebd58dcfa719e9ec17f939f338 Mon Sep 17 00:00:00 2001 From: Fatih Kaya Date: Thu, 27 Apr 2023 11:28:04 +0300 Subject: [PATCH] update --- modules/admaticBidAdapter.js | 8 ++++---- test/spec/modules/admaticBidAdapter_spec.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/admaticBidAdapter.js b/modules/admaticBidAdapter.js index 4905c19be40..f2b717a0367 100644 --- a/modules/admaticBidAdapter.js +++ b/modules/admaticBidAdapter.js @@ -110,16 +110,16 @@ export const spec = { }, bidder: bid.bidder, mediaType: bid.type, - ttl: 360 + ttl: 60 }; - if (resbid.mediaType === "video" && isUrl(bid.party_tag)) { + if (resbid.mediaType === 'video' && isUrl(bid.party_tag)) { resbid.vastUrl = bid.party_tag; resbid.vastImpUrl = bid.iurl; - } else if (resbid.mediaType === "video") { + } else if (resbid.mediaType === 'video') { resbid.vastXml = bid.party_tag; resbid.vastImpUrl = bid.iurl; - } else if (resbid.mediaType === "banner") { + } else if (resbid.mediaType === 'banner') { resbid.ad = bid.party_tag; }; diff --git a/test/spec/modules/admaticBidAdapter_spec.js b/test/spec/modules/admaticBidAdapter_spec.js index 53ae39c642b..9bafcf0d33e 100644 --- a/test/spec/modules/admaticBidAdapter_spec.js +++ b/test/spec/modules/admaticBidAdapter_spec.js @@ -255,7 +255,7 @@ describe('admaticBidAdapter', () => { 'adomain': ['admatic.com.tr'], 'party_tag': '
', 'iurl': 'https://www.admatic.com.tr', - 'type': "banner" + 'type': 'banner' } ], 'queryId': 'cdnbh24rlv0hhkpfpln0', @@ -276,7 +276,7 @@ describe('admaticBidAdapter', () => { meta: { advertiserDomains: ['admatic.com.tr'] }, - ttl: 360, + ttl: 60, bidder: 'admatic' } ];