AI-generated Key Takeaways
-
IMAErrorType is an enum that defines error types encountered while loading or playing ads.
-
Error types include unknown errors, ad loading failures, and ad playing failures, each with a corresponding code.
-
These error types provide insight into issues encountered by the IMA SDK during ad interactions.
IMAErrorType
enum IMAErrorType : NSInteger {}
Possible error types while loading or playing ads.
-
An unexpected error occurred while loading or playing the ads. This may mean that the SDK wasn’t loaded properly.
Declaration
Swift
case adUnknownErrorType = 0
Objective-C
kIMAAdUnknownErrorType
-
An error occurred while loading the ads.
Declaration
Swift
case adLoadingFailed = 1
Objective-C
kIMAAdLoadingFailed
-
An error occurred while playing the ads.
Declaration
Swift
case adPlayingFailed = 2
Objective-C
kIMAAdPlayingFailed