From 1b62b0b53e816c1ccf04e7320228ded20f9ebf4b Mon Sep 17 00:00:00 2001 From: Index Exchange 3 Prebid Team Date: Tue, 10 Mar 2020 22:26:24 -0400 Subject: [PATCH] IX Adapter - Increase banner TTL to 300s (#4957) --- 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 18e9dc5bddb..fd22a21b94f 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 4f4c4734205..fe18947b37a 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: {