| | |
| | | #import <GoogleMobileAds/GoogleMobileAdsDefines.h> |
| | | |
| | | /// Google AdMob Ads error domain. |
| | | FOUNDATION_EXPORT NSString *_Nonnull const GADErrorDomain; |
| | | FOUNDATION_EXPORT NSErrorDomain _Nonnull const GADErrorDomain; |
| | | |
| | | /// NSError codes for GAD error domain. |
| | | typedef NS_ENUM(NSInteger, GADErrorCode) { |
| | | typedef NS_ERROR_ENUM(GADErrorDomain, GADErrorCode){ |
| | | /// The ad request is invalid. The localizedFailureReason error description will have more |
| | | /// details. Typically this is because the ad did not have the ad unit ID or root view |
| | | /// controller set. |
| | |
| | | /// Invalid argument error. |
| | | GADErrorInvalidArgument = 12, |
| | | |
| | | /// Received invalid response. |
| | | GADErrorReceivedInvalidResponse = 13, |
| | | |
| | | /// A mediation ad network adapter received an ad request, but did not fill. The adapter's error |
| | | /// is included as an underlyingError. |
| | | GADErrorMediationNoFill = 9, |
| | | |
| | | /// Will not send request because the ad object has already been used. |
| | | GADErrorAdAlreadyUsed = 19, |
| | | |
| | | /// Will not send request because the application identifier is missing. |
| | | GADErrorApplicationIdentifierMissing = 20, |
| | | }; |
| | | |
| | | /// Received invalid ad string. |
| | | GADErrorReceivedInvalidAdString = 21, |
| | | } NS_SWIFT_NAME(RequestError); |