GoogleInteractiveMediaAds Framework Reference
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["`IMAErrorType` is an enum defining error types encountered during ad loading or playback within the IMA SDK."],["Possible errors include unknown errors during ad loading or playback, ad loading failures, and ad playback failures."],["Each error type is represented by a specific constant, like `kIMAAdUnknownErrorType` or `kIMAAdLoadingFailed`, accessible in both Swift and Objective-C."]]],[]]