AdErrorCode

@objc(YMAAdErrorCode)
public enum AdErrorCode : Int

Error description.

  • The AdUnitID was omitted when loading the ad.

    Declaration

    Swift

    case emptyAdUnitID
  • An invalid Application ID was specified.

    Declaration

    Swift

    case invalidUUID
  • The AdUnitID specified when loading the ad wasn’t found.

    Declaration

    Swift

    case noSuchAdUnitID
  • The ad was loaded successfully, but there aren’t any available ads to display.

    Declaration

    Swift

    case noFill
  • Unexpected server response when loading the ad.

    Declaration

    Swift

    case badServerResponse
  • The ad size in the request does not match the ad size specified in the Partner interface for this ad block.

    Declaration

    Swift

    case adSizeMismatch
  • The ad type in the request does not match the ad type specified in the Partner interface for this ad block.

    Declaration

    Swift

    case adTypeMismatch
  • The service is temporarily unavailable. Try sending the request again later.

    Declaration

    Swift

    case serviceTemporarilyNotAvailable
  • A full-screen ad can be shown only once.

    Declaration

    Swift

    case adHasAlreadyBeenPresented
  • ViewController passed for presenting full-screen ad is nil.

    Declaration

    Swift

    case nilPresentingViewController
  • Incorrect fullscrseen view.

    Declaration

    Swift

    case incorrectFullscreenView
  • Invalid sdk configuration.

    Declaration

    Swift

    case invalidSDKConfiguration