AdErrorCode
@objc(YMAAdErrorCode)
public enum AdErrorCode : Int, Sendable
Error description.
-
The
AdUnitIDwas omitted when loading the ad.Declaration
Swift
case emptyAdUnitID -
An invalid
Application IDwas specified.Declaration
Swift
case invalidUUID -
The
AdUnitIDspecified 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 fullscreen view.
Declaration
Swift
case incorrectFullscreenView -
Invalid sdk configuration.
Declaration
Swift
case invalidSDKConfiguration -
SKAd Network Identifier is not introduced in plist.
Declaration
Swift
case missingSKAdNetworkIdentifier