SCTimeouts
struct SCTimeouts {}
Timeout values that can be changed
-
The number of seconds a single ad request can take to load before being terminated. Default is 1 seconds
Declaration
Objective-C
NSInteger adRequest -
The total number of seconds a single ad request chain (VAST Wrappers and final VAST Inline tag) can take to load before being terminated. Default is 2 seconds.
Declaration
Objective-C
NSInteger adRequestChain -
The total number of seconds an ad-slot request (from calling initAdSlot until the Promise resolves or rejects) can take before being terminated. Default is 4 seconds.
Declaration
Objective-C
NSInteger adSlotRequest -
Representing the number of seconds a video creative can take to load before being terminated. Default is 3 seconds.
Declaration
Objective-C
NSInteger videoRequest -
Representing the number of seconds a VPAID creative (JavaScript resource) can take to load before being terminated. Default is 1 seconds.
Declaration
Objective-C
NSInteger vpaidRequest -
Representing the number of seconds a VPAID creative can take to initialize and respond (from calling VPAID.initAd() until the creative triggers the AdLoaded event) before being terminated. Default is 3 seconds.
Declaration
Objective-C
NSInteger vpaidReadiness -
The maximum time in seconds a NonLinear ad is displayed (from triggering the impression) before being terminated. Note: The timer becomes paused for the time a creative has entered the linear state. Default is 10 seconds.
Declaration
Objective-C
NSInteger nonlinearMaxDuration
SCTimeouts Structure Reference