// // GADRequestError.h // Google Mobile Ads SDK // // Copyright 2011 Google LLC. All rights reserved. // #import #import /// Google AdMob Ads error domain. FOUNDATION_EXPORT NSErrorDomain _Nonnull const GADErrorDomain; /// NSError codes for GAD error domain. 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. GADErrorInvalidRequest = 0, /// The ad request was successful, but no ad was returned. GADErrorNoFill = 1, /// There was an error loading data from the network. GADErrorNetworkError = 2, /// The ad server experienced a failure processing the request. GADErrorServerError = 3, /// The current device's OS is below the minimum required version. GADErrorOSVersionTooLow = 4, /// The request was unable to be loaded before being timed out. GADErrorTimeout = 5, /// The mediation response was invalid. GADErrorMediationDataError = 7, /// Error finding or creating a mediation ad network adapter. GADErrorMediationAdapterError = 8, /// Attempting to pass an invalid ad size to an adapter. GADErrorMediationInvalidAdSize = 10, /// Internal error. GADErrorInternalError = 11, /// Invalid argument error. GADErrorInvalidArgument = 12, /// 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);