A valid GADAdSize is considered to be one of the predefined GADAdSize constants or a GADAdSize
constructed by GADAdSizeFromCGSize, GADAdSizeFullWidthPortraitWithHeight,
GADAdSizeFullWidthLandscapeWithHeight.
Do not create a GADAdSize manually. Use one of the kGADAdSize constants. Treat GADAdSize as an
opaque type. Do not access any fields directly. To obtain a concrete CGSize, use the function
CGSizeFromGADAdSize().
A block to be executed when the ad request operation completes. If the load failed, the error
object is non-null and provides failure information. On success, |error| is nil.
Called by the adapter after loading the banner ad or encountering an error. Returns an ad
event object to send ad events to the Google Mobile Ads SDK. The block returns nil if a delegate
couldn’t be created or if the block has already been called.
Called by the adapter after loading the interstitial ad or encountering an error. Returns an
ad event delegate to send ad events to the Google Mobile Ads SDK. The block returns nil if a
delegate couldn’t be created or if the block has already been called.
Called by the adapter after loading the native ad or encountering an error. Returns an ad
event delegate to send ad events to the Google Mobile Ads SDK. The block returns nil if a
delegate couldn’t be created or if the block has already been called.
Called by the adapter after loading the rewarded ad or encountering an error. Returns an ad
event delegate to send ad events to the Google Mobile Ads SDK. The block returns nil if a
delegate couldn’t be created or if the block has already been called.
[[["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\nType Definitions\n================\n\nThe following type definitions are available globally.\n- `\n ``\n ``\n `\n\n ### [GADAdLoaderAdType](#/c:GADAdLoaderAdTypes.h@T@GADAdLoaderAdType)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n typedef NSString *GADAdLoaderAdType\n\n- `\n ``\n ``\n `\n\n ### [GADAdMetadataKey](#/c:GADAdMetadataKeys.h@T@GADAdMetadataKey)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n typedef NSString *GADAdMetadataKey\n\n- `\n ``\n ``\n `\n\n ### [GADAdSize](#/c:GADAdSize.h@T@GADAdSize)\n\n `\n ` \n A valid GADAdSize is considered to be one of the predefined GADAdSize constants or a GADAdSize\n constructed by GADAdSizeFromCGSize, GADAdSizeFullWidthPortraitWithHeight,\n GADAdSizeFullWidthLandscapeWithHeight.\n\n Do not create a GADAdSize manually. Use one of the kGADAdSize constants. Treat GADAdSize as an\n opaque type. Do not access any fields directly. To obtain a concrete CGSize, use the function\n CGSizeFromGADAdSize(). \n\n #### Declaration\n\n Objective-C \n\n typedef struct /docs/reference/ios/googlemobileads/api/reference/Structs/GADAdSize /docs/reference/ios/googlemobileads/api/reference/Structs/GADAdSize\n\n- `\n ``\n ``\n `\n\n ### [GADInitializationCompletionHandler](#/c:GADMobileAds.h@T@GADInitializationCompletionHandler)\n\n `\n ` \n A block called with the initialization status when \\[GADMobileAds startWithCompletionHandler:\\]\n completes or times out. \n\n #### Declaration\n\n Objective-C \n\n typedef void (^GADInitializationCompletionHandler)(\n /docs/reference/ios/googlemobileads/api/reference/Classes/GADInitializationStatus *_Nonnull)\n\n- `\n ``\n ``\n `\n\n ### [GADNativeAppInstallAssetID](#/c:GADNativeAppInstallAdAssetIDs.h@T@GADNativeAppInstallAssetID)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n typedef NSString *GADNativeAppInstallAssetID\n\n- `\n ``\n ``\n `\n\n ### [GADNativeContentAdAssetID](#/c:GADNativeContentAdAssetIDs.h@T@GADNativeContentAdAssetID)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n typedef NSString *GADNativeContentAdAssetID\n\n- `\n ``\n ``\n `\n\n ### [GADNativeAdCustomClickHandler](#/c:GADNativeCustomTemplateAd.h@T@GADNativeAdCustomClickHandler)\n\n `\n ` \n Native ad custom click handler block. \\|assetID\\| is the ID of asset that has received a click. \n\n #### Declaration\n\n Objective-C \n\n typedef void (^GADNativeAdCustomClickHandler)(NSString *_Nonnull)\n\n- `\n ``\n ``\n `\n\n ### [GADMaxAdContentRating](#/c:GADRequestConfiguration.h@T@GADMaxAdContentRating)\n\n `\n ` \n Maximum ad content rating. \n\n #### Declaration\n\n Objective-C \n\n typedef NSString *GADMaxAdContentRating\n\n- `\n ``\n ``\n `\n\n ### [GADRewardedAdLoadCompletionHandler](#/c:GADRewardedAd.h@T@GADRewardedAdLoadCompletionHandler)\n\n `\n ` \n A block to be executed when the ad request operation completes. If the load failed, the error\n object is non-null and provides failure information. On success, \\|error\\| is nil. \n\n #### Declaration\n\n Objective-C \n\n typedef void (^GADRewardedAdLoadCompletionHandler)(/docs/reference/ios/googlemobileads/api/reference/Classes#/c:objc(cs)GADRequestError *_Nullable)\n\n- `\n ``\n ``\n `\n\n ### [GADUnifiedNativeAssetIdentifier](#/c:GADUnifiedNativeAdAssetIdentifiers.h@T@GADUnifiedNativeAssetIdentifier)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n typedef NSString *GADUnifiedNativeAssetIdentifier\n\n- `\n ``\n ``\n `\n\n ### [GADMediationBannerLoadCompletionHandler](#/c:GADMediationAdapter.h@T@GADMediationBannerLoadCompletionHandler)\n\n `\n ` \n Called by the adapter after loading the banner ad or encountering an error. Returns an ad\n event object to send ad events to the Google Mobile Ads SDK. The block returns nil if a delegate\n couldn't be created or if the block has already been called. \n\n #### Declaration\n\n Objective-C \n\n typedef id\u003c/docs/reference/ios/googlemobileads/api/reference/Protocols/GADMediationBannerAdEventDelegate\u003e _Nullable (\n ^GADMediationBannerLoadCompletionHandler)(\n id\u003c/docs/reference/ios/googlemobileads/api/reference/Protocols/GADMediationBannerAd\u003e _Nullable, NSError *_Nullable)\n\n- `\n ``\n ``\n `\n\n ### [GADMediationInterstitialLoadCompletionHandler](#/c:GADMediationAdapter.h@T@GADMediationInterstitialLoadCompletionHandler)\n\n `\n ` \n Called by the adapter after loading the interstitial ad or encountering an error. Returns an\n ad event delegate to send ad events to the Google Mobile Ads SDK. The block returns nil if a\n delegate couldn't be created or if the block has already been called. \n\n #### Declaration\n\n Objective-C \n\n typedef id\u003c/docs/reference/ios/googlemobileads/api/reference/Protocols/GADMediationInterstitialAdEventDelegate\u003e _Nullable (\n ^GADMediationInterstitialLoadCompletionHandler)(\n id\u003c/docs/reference/ios/googlemobileads/api/reference/Protocols/GADMediationInterstitialAd\u003e _Nullable, NSError *_Nullable)\n\n- `\n ``\n ``\n `\n\n ### [GADMediationNativeLoadCompletionHandler](#/c:GADMediationAdapter.h@T@GADMediationNativeLoadCompletionHandler)\n\n `\n ` \n Called by the adapter after loading the native ad or encountering an error. Returns an ad\n event delegate to send ad events to the Google Mobile Ads SDK. The block returns nil if a\n delegate couldn't be created or if the block has already been called. \n\n #### Declaration\n\n Objective-C \n\n typedef id\u003c/docs/reference/ios/googlemobileads/api/reference/Protocols/GADMediationNativeAdEventDelegate\u003e _Nullable (\n ^GADMediationNativeLoadCompletionHandler)(\n id\u003c/docs/reference/ios/googlemobileads/api/reference/Protocols/GADMediationNativeAd\u003e _Nullable, NSError *_Nullable)\n\n- `\n ``\n ``\n `\n\n ### [GADMediationRewardedLoadCompletionHandler](#/c:GADMediationAdapter.h@T@GADMediationRewardedLoadCompletionHandler)\n\n `\n ` \n Called by the adapter after loading the rewarded ad or encountering an error. Returns an ad\n event delegate to send ad events to the Google Mobile Ads SDK. The block returns nil if a\n delegate couldn't be created or if the block has already been called. \n\n #### Declaration\n\n Objective-C \n\n typedef id\u003c/docs/reference/ios/googlemobileads/api/reference/Protocols/GADMediationRewardedAdEventDelegate\u003e _Nullable (\n ^GADMediationRewardedLoadCompletionHandler)(\n id\u003c/docs/reference/ios/googlemobileads/api/reference/Protocols/GADMediationRewardedAd\u003e _Nullable, NSError *_Nullable)\n\n- `\n ``\n ``\n `\n\n ### [GADMediationAdapterSetUpCompletionBlock](#/c:GADMediationAdapter.h@T@GADMediationAdapterSetUpCompletionBlock)\n\n `\n ` \n Executes when adapter set up completes. \n\n #### Declaration\n\n Objective-C \n\n typedef void (^GADMediationAdapterSetUpCompletionBlock)(NSError *_Nullable)\n\n- `\n ``\n ``\n `\n\n ### [GADVersionNumber](/docs/reference/ios/googlemobileads/api/reference/Type-Definitions/GADVersionNumber)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n typedef struct GADVersionNumber GADVersionNumber\n\n- `\n ``\n ``\n `\n\n ### [GADRTBSignalCompletionHandler](#/c:GADRTBAdapter.h@T@GADRTBSignalCompletionHandler)\n\n `\n ` \n Completion handler for signal generation. Returns either signals or an error object. \n\n #### Declaration\n\n Objective-C \n\n typedef void (^GADRTBSignalCompletionHandler)(NSString *_Nullable,\n NSError *_Nullable)"]]