# GADErrorCode

    enum GADErrorCode : NSInteger {}

NSError codes for GAD error domain.
- `


  ### [GADErrorInvalidRequest](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorInvalidRequest)


  ` 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.

  #### Declaration

  Swift

      static var invalidRequest: RequestError.Code { get }

  Objective-C

      GADErrorInvalidRequest = 0

- `


  ### [GADErrorNoFill](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorNoFill)


  ` The ad request was successful, but no ad was returned.

  #### Declaration

  Swift

      static var noFill: RequestError.Code { get }

  Objective-C

      GADErrorNoFill = 1

- `


  ### [GADErrorNetworkError](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorNetworkError)


  ` There was an error loading data from the network.

  #### Declaration

  Swift

      static var networkError: RequestError.Code { get }

  Objective-C

      GADErrorNetworkError = 2

- `


  ### [GADErrorServerError](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorServerError)


  ` The ad server experienced a failure processing the request.

  #### Declaration

  Swift

      static var serverError: RequestError.Code { get }

  Objective-C

      GADErrorServerError = 3

- `


  ### [GADErrorOSVersionTooLow](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorOSVersionTooLow)


  ` Deprecated

  Deprecated. No replacement.
  The current device's OS is below the minimum required version.

  #### Declaration

  Swift

      static var osVersionTooLow: RequestError.Code { get }

  Objective-C

      GADErrorOSVersionTooLow = 4

- `


  ### [GADErrorTimeout](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorTimeout)


  ` The request was unable to be loaded before being timed out.

  #### Declaration

  Swift

      static var timeout: RequestError.Code { get }

  Objective-C

      GADErrorTimeout = 5

- `


  ### [GADErrorMediationDataError](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorMediationDataError)


  ` The mediation response was invalid.

  #### Declaration

  Swift

      static var mediationDataError: RequestError.Code { get }

  Objective-C

      GADErrorMediationDataError = 7

- `


  ### [GADErrorMediationAdapterError](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorMediationAdapterError)


  ` Error finding or creating a mediation ad network adapter.

  #### Declaration

  Swift

      static var mediationAdapterError: RequestError.Code { get }

  Objective-C

      GADErrorMediationAdapterError = 8

- `


  ### [GADErrorMediationInvalidAdSize](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorMediationInvalidAdSize)


  ` Attempting to pass an invalid ad size to an adapter.

  #### Declaration

  Swift

      static var mediationInvalidAdSize: RequestError.Code { get }

  Objective-C

      GADErrorMediationInvalidAdSize = 10

- `


  ### [GADErrorInternalError](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorInternalError)


  ` Internal error.

  #### Declaration

  Swift

      static var internalError: RequestError.Code { get }

  Objective-C

      GADErrorInternalError = 11

- `


  ### [GADErrorInvalidArgument](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorInvalidArgument)


  ` Invalid argument error.

  #### Declaration

  Swift

      static var invalidArgument: RequestError.Code { get }

  Objective-C

      GADErrorInvalidArgument = 12

- `


  ### [GADErrorAdAlreadyUsed](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorAdAlreadyUsed)


  ` Will not send request because the ad object has already been used.

  #### Declaration

  Swift

      static var adAlreadyUsed: RequestError.Code { get }

  Objective-C

      GADErrorAdAlreadyUsed = 19

- `


  ### [GADErrorApplicationIdentifierMissing](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorApplicationIdentifierMissing)


  ` Will not send request because the application identifier is missing.

  #### Declaration

  Swift

      static var applicationIdentifierMissing: RequestError.Code { get }

  Objective-C

      GADErrorApplicationIdentifierMissing = 20

- `


  ### [GADErrorReceivedInvalidAdString](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Enums/GADErrorCode#/c:@E@GADErrorCode@GADErrorReceivedInvalidAdString)


  ` Received invalid ad string.

  #### Declaration

  Swift

      static var receivedInvalidAdString: RequestError.Code { get }

  Objective-C

      GADErrorReceivedInvalidAdString = 21