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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-03 UTC."],[],[],null,["# GoogleMobileAds Framework Reference\n\nGADErrorCode\n============\n\n enum GADErrorCode : Int\n\nNSError codes for GAD error domain.\n- `\n ``\n ``\n `\n\n ### [invalidRequest](#/c:@E@GADErrorCode@kGADErrorInvalidRequest)\n\n `\n ` \n The ad request is invalid. The localizedFailureReason error description will have more\n details. Typically this is because the ad did not have the ad unit ID or root view\n controller set. \n\n #### Declaration\n\n Swift \n\n case invalidRequest = 0\n\n- `\n ``\n ``\n `\n\n ### [noFill](#/c:@E@GADErrorCode@kGADErrorNoFill)\n\n `\n ` \n The ad request was successful, but no ad was returned. \n\n #### Declaration\n\n Swift \n\n case noFill = 1\n\n- `\n ``\n ``\n `\n\n ### [networkError](#/c:@E@GADErrorCode@kGADErrorNetworkError)\n\n `\n ` \n There was an error loading data from the network. \n\n #### Declaration\n\n Swift \n\n case networkError = 2\n\n- `\n ``\n ``\n `\n\n ### [serverError](#/c:@E@GADErrorCode@kGADErrorServerError)\n\n `\n ` \n The ad server experienced a failure processing the request. \n\n #### Declaration\n\n Swift \n\n case serverError = 3\n\n- `\n ``\n ``\n `\n\n ### [osVersionTooLow](#/c:@E@GADErrorCode@kGADErrorOSVersionTooLow)\n\n `\n ` \n The current device's OS is below the minimum required version. \n\n #### Declaration\n\n Swift \n\n case osVersionTooLow = 4\n\n- `\n ``\n ``\n `\n\n ### [timeout](#/c:@E@GADErrorCode@kGADErrorTimeout)\n\n `\n ` \n The request was unable to be loaded before being timed out. \n\n #### Declaration\n\n Swift \n\n case timeout = 5\n\n- `\n ``\n ``\n `\n\n ### [interstitialAlreadyUsed](#/c:@E@GADErrorCode@kGADErrorInterstitialAlreadyUsed)\n\n `\n ` \n Will not send request because the interstitial object has already been used. \n\n #### Declaration\n\n Swift \n\n case interstitialAlreadyUsed = 6\n\n- `\n ``\n ``\n `\n\n ### [mediationDataError](#/c:@E@GADErrorCode@kGADErrorMediationDataError)\n\n `\n ` \n The mediation response was invalid. \n\n #### Declaration\n\n Swift \n\n case mediationDataError = 7\n\n- `\n ``\n ``\n `\n\n ### [mediationAdapterError](#/c:@E@GADErrorCode@kGADErrorMediationAdapterError)\n\n `\n ` \n Error finding or creating a mediation ad network adapter. \n\n #### Declaration\n\n Swift \n\n case mediationAdapterError = 8\n\n- `\n ``\n ``\n `\n\n ### [mediationNoFill](#/c:@E@GADErrorCode@kGADErrorMediationNoFill)\n\n `\n ` \n The mediation request was successful, but no ad was returned from any ad networks. \n\n #### Declaration\n\n Swift \n\n case mediationNoFill = 9\n\n- `\n ``\n ``\n `\n\n ### [mediationInvalidAdSize](#/c:@E@GADErrorCode@kGADErrorMediationInvalidAdSize)\n\n `\n ` \n Attempting to pass an invalid ad size to an adapter. \n\n #### Declaration\n\n Swift \n\n case mediationInvalidAdSize = 10\n\n- `\n ``\n ``\n `\n\n ### [internalError](#/c:@E@GADErrorCode@kGADErrorInternalError)\n\n `\n ` \n Internal error. \n\n #### Declaration\n\n Swift \n\n case internalError = 11\n\n- `\n ``\n ``\n `\n\n ### [invalidArgument](#/c:@E@GADErrorCode@kGADErrorInvalidArgument)\n\n `\n ` \n Invalid argument error. \n\n #### Declaration\n\n Swift \n\n case invalidArgument = 12\n\n- `\n ``\n ``\n `\n\n ### [receivedInvalidResponse](#/c:@E@GADErrorCode@kGADErrorReceivedInvalidResponse)\n\n `\n ` \n Received invalid response. \n\n #### Declaration\n\n Swift \n\n case receivedInvalidResponse = 13\n\n- `\n ``\n ``\n `\n\n ### [rewardedAdAlreadyUsed](#/c:@E@GADErrorCode@kGADErrorRewardedAdAlreadyUsed)\n\n `\n ` \n Will not send request because the rewarded ad object has already been used. \n\n #### Declaration\n\n Swift \n\n case rewardedAdAlreadyUsed = 14"]]