APSAdPodFallback

Objective-C

enum APSAdPodFallback {}

Swift

enum APSAdPodFallback : Int

VAST 3.0 defines Ad Pods, with fallback mechanisms that allow loading an ad buffet of commercials to playback if the main ads fail. This value specifies how to treat backwards compatibility issues with VAST 2.0 and 1.0, by choosing what ads are promoted to the main Ad Pod if no valid Pods are detected.

  • Load all retrieved ads if no valid Ad Pods are found.

    Declaration

    Objective-C

    APSAdPodFallbackSelectAll

    Swift

    case selectAll = 0
  • Load only the first retrieved ad if no valid Ad Pods are found.

    Declaration

    Objective-C

    APSAdPodFallbackSelectFirst

    Swift

    case selectFirst = 1
  • Drop the whole ad request if no valid Ad Pods are found. This value will disable VAST 1.0 and 2.0 compatibility.

    Declaration

    Objective-C

    APSAdPodFallbackDrop

    Swift

    case drop = 2