Skip to content

Commit

Permalink
IX Adapter - Increase banner TTL to 300s (prebid#4957)
Browse files Browse the repository at this point in the history
  • Loading branch information
ix-prebid-support authored and rjvelicaria committed Apr 9, 2020
1 parent 62c4c17 commit f8846fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion modules/ixBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion modules/ixBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions test/spec/modules/ixBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ describe('IndexexchangeAdapter', function () {
mediaType: 'banner',
ad: '<a target="_blank" href="https://www.indexexchange.com"></a>',
currency: 'USD',
ttl: 35,
ttl: 300,
netRevenue: true,
dealId: undefined,
meta: {
Expand All @@ -834,7 +834,7 @@ describe('IndexexchangeAdapter', function () {
mediaType: 'banner',
ad: '<a target="_blank" href="https://www.indexexchange.com"></a>',
currency: 'USD',
ttl: 35,
ttl: 300,
netRevenue: true,
dealId: undefined,
meta: {
Expand All @@ -860,7 +860,7 @@ describe('IndexexchangeAdapter', function () {
mediaType: 'banner',
ad: '<a target="_blank" href="https://www.indexexchange.com"></a>',
currency: 'JPY',
ttl: 35,
ttl: 300,
netRevenue: true,
dealId: undefined,
meta: {
Expand All @@ -887,7 +887,7 @@ describe('IndexexchangeAdapter', function () {
mediaType: 'banner',
ad: '<a target="_blank" href="https://www.indexexchange.com"></a>',
currency: 'USD',
ttl: 35,
ttl: 300,
netRevenue: true,
dealId: 'deal',
meta: {
Expand Down

0 comments on commit f8846fb

Please sign in to comment.