From 4bfc23ee97be76d95c575966f627037f07038eb8 Mon Sep 17 00:00:00 2001 From: IX Prebid Support Date: Fri, 21 Feb 2020 11:58:52 -0500 Subject: [PATCH] IX Adapter - Increase banner TTL to 300s --- modules/ixBidAdapter.js | 2 +- modules/ixBidAdapter.md | 2 +- test/spec/modules/ixBidAdapter_spec.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/ixBidAdapter.js b/modules/ixBidAdapter.js index 938f403f756..2c35d7f9e5e 100644 --- a/modules/ixBidAdapter.js +++ b/modules/ixBidAdapter.js @@ -11,7 +11,7 @@ const SUPPORTED_AD_TYPES = [BANNER, VIDEO]; const BANNER_ENDPOINT_VERSION = 7.2; const VIDEO_ENDPOINT_VERSION = 8.1; const CENT_TO_DOLLAR_FACTOR = 100; -const BANNER_TIME_TO_LIVE = 35; +const BANNER_TIME_TO_LIVE = 300; const VIDEO_TIME_TO_LIVE = 3600; // 1hr const NET_REVENUE = true; const PRICE_TO_DOLLAR_FACTOR = { diff --git a/modules/ixBidAdapter.md b/modules/ixBidAdapter.md index 5e1e8c1dc29..4335e496efd 100644 --- a/modules/ixBidAdapter.md +++ b/modules/ixBidAdapter.md @@ -365,7 +365,7 @@ to `'ix'` across all ad units that bids are being requested for does not exceed ### Time-To-Live (TTL) -All bids received from IX have a TTL of 35 seconds, after which time they become +Banner bids from IX have a TTL of 300 seconds while video bids have a TTL of 1 hour, after which time they become invalid. If an invalid bid wins, and its associated ad is rendered, it will not count diff --git a/test/spec/modules/ixBidAdapter_spec.js b/test/spec/modules/ixBidAdapter_spec.js index e592083adab..b01f4614856 100644 --- a/test/spec/modules/ixBidAdapter_spec.js +++ b/test/spec/modules/ixBidAdapter_spec.js @@ -807,7 +807,7 @@ describe('IndexexchangeAdapter', function () { mediaType: 'banner', ad: '', currency: 'USD', - ttl: 35, + ttl: 300, netRevenue: true, dealId: undefined, meta: { @@ -834,7 +834,7 @@ describe('IndexexchangeAdapter', function () { mediaType: 'banner', ad: '', currency: 'USD', - ttl: 35, + ttl: 300, netRevenue: true, dealId: undefined, meta: { @@ -860,7 +860,7 @@ describe('IndexexchangeAdapter', function () { mediaType: 'banner', ad: '', currency: 'JPY', - ttl: 35, + ttl: 300, netRevenue: true, dealId: undefined, meta: { @@ -887,7 +887,7 @@ describe('IndexexchangeAdapter', function () { mediaType: 'banner', ad: '', currency: 'USD', - ttl: 35, + ttl: 300, netRevenue: true, dealId: 'deal', meta: {