GoogleMobileAds Framework Reference

GADErrorCode

enum GADErrorCode {}

NSError codes for GAD error domain.

  • 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

    Objective-C

    kGADErrorInvalidRequest
  • The ad request was successful, but no ad was returned.

    Declaration

    Objective-C

    kGADErrorNoFill
  • There was an error loading data from the network.

    Declaration

    Objective-C

    kGADErrorNetworkError
  • The ad server experienced a failure processing the request.

    Declaration

    Objective-C

    kGADErrorServerError
  • The current device’s OS is below the minimum required version.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    kGADErrorTimeout
  • Will not send request because the interstitial object has already been used.

    Declaration

    Objective-C

    kGADErrorInterstitialAlreadyUsed
  • The mediation response was invalid.

    Declaration

    Objective-C

    kGADErrorMediationDataError
  • Error finding or creating a mediation ad network adapter.

    Declaration

    Objective-C

    kGADErrorMediationAdapterError
  • The mediation request was successful, but no ad was returned from any ad networks.

    Declaration

    Objective-C

    kGADErrorMediationNoFill
  • Attempting to pass an invalid ad size to an adapter.

    Declaration

    Objective-C

    kGADErrorMediationInvalidAdSize
  • Internal error.

    Declaration

    Objective-C

    kGADErrorInternalError
  • Invalid argument error.

    Declaration

    Objective-C

    kGADErrorInvalidArgument
  • Received invalid response.

    Declaration

    Objective-C

    kGADErrorReceivedInvalidResponse
  • Will not send request because the rewarded ad object has already been used.

    Declaration

    Objective-C

    kGADErrorRewardedAdAlreadyUsed