VastErrorCode

@objc(AASDKVastErrorCode)
public enum VastErrorCode : Int

The VAST error codes.

  • XML parsing error.

    Declaration

    Swift

    case xmlParsingError = 100
  • VAST schema validation error.

    Declaration

    Swift

    case schemValidationError = 101
  • The VAST version of the response is not supported.

    Declaration

    Swift

    case responseNotSupported = 102
  • Trafficking error. The media player received an ad type that it was not expecting and/or cannot play.

    Declaration

    Swift

    case trafficking = 200
  • The media player was expecting a different linearity.

    Declaration

    Swift

    case differentLinearity = 201
  • The media player was expecting a different duration.

    Declaration

    Swift

    case differentDuration = 202
  • The media player was expecting a different size.

    Declaration

    Swift

    case differentSize = 203
  • The ad category was required, but not provided.

    Declaration

    Swift

    case adCategoryNotProvided = 204
  • The Inline Category violates Wrapper BlockedAdCategories (refer to 3.19.2).

    Declaration

    Swift

    case inlineCategoryViolation = 205
  • General Wrapper error.

    Declaration

    Swift

    case generalWrapper = 300
  • Timeout of the VAST URI provided in the Wrapper element, or of VAST URI provided in a subsequent Wrapper element. (the URI was either unavailable or reached a timeout as defined by the media player).

    Declaration

    Swift

    case timeOutInWrapper = 301
  • Wrapper limit reached, as defined by the media player. Too many Wrapper responses have been received with no InLine response.

    Declaration

    Swift

    case limitInWrapper = 302
  • No VAST response after one or more Wrappers.

    Declaration

    Swift

    case noVASTResponeAfterWrapper = 303
  • InLine response returned an ad unit that failed to result in ad display within the defined time limit.

    Declaration

    Swift

    case inlineWithNoAd = 304
  • General Linear error. The media player is unable to display the Linear Ad.

    Declaration

    Swift

    case generalLinearError = 400
  • File not found. Unable to find the Linear/MediaFile from URI.

    Declaration

    Swift

    case fileNotFound = 401
  • Timeout of the MediaFile URI.

    Declaration

    Swift

    case timeOutOfMediaFile = 402
  • Couldn’t find a MediaFile that is supported by this media player, based on the attributes of the MediaFile element.

    Declaration

    Swift

    case mediaFileNotSupported = 403
  • Problem displaying the MediaFile. The media player found a MediaFile with a supported type but couldn’t display it. The MediaFile may include: unsupported codecs, a different MIME type than the MediaFile@type, unsupported delivery method, etc.

    Declaration

    Swift

    case mediaFileDisplay = 405
  • A mezzanine was required but not provided. The ad has not been served.407 The mezzanine is in the process of being downloaded for the first time. The download may take several hours. The ad will not be served until the mezzanine has been downloaded and transcoded.

    Declaration

    Swift

    case noMezzanine = 406
  • Conditional ad rejected (deprecated along with conditionalAd).

    Declaration

    Swift

    case conditionalAdReejected = 408
  • The interactive unit in the InteractiveCreativeFile node was not executed.

    Declaration

    Swift

    case interactiveUnitNotExecuteed = 409
  • The verification unit in the Verification node was not executed.

    Declaration

    Swift

    case verificationNotExecuted = 410
  • The mezzanine was provided as required, but the file did not meet required specification. The ad has not been served.

    Declaration

    Swift

    case mezzanineNotMatching = 411
  • General CompanionAds error.

    Declaration

    Swift

    case generalCompanionAdsError = 600
  • Unable to display the Companion because the creative dimensions do not fit within the Companion display area (i.e., no available space).

    Declaration

    Swift

    case companionBadDimensions = 601
  • Unable to display the required Companion.

    Declaration

    Swift

    case companionDisplay = 602
  • Unable to fetch the CompanionAds/Companion resource.

    Declaration

    Swift

    case unableToFetchCompanion = 603
  • Couldn’t find a Companion resource with the supported type.

    Declaration

    Swift

    case companionNotFound = 604
  • Undefined Error.

    Declaration

    Swift

    case undefined = 900
  • General VPAID error.

    Declaration

    Swift

    case generalVPAID = 901