Classes
The following classes are available globally.
- 
                  
                  The view that displays Ad Manager banner ads. To request this ad type using GADAdLoader, you need to pass kGADAdLoaderAdTypeDFPBanner (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader’s initializer method. If you request this ad type, your delegate must conform to the DFPBannerAdLoaderDelegate protocol. DeclarationObjective-C @interface DFPBannerView : GADBannerView
- 
                  
                  Ad loader options for banner ads. DeclarationObjective-C @interface DFPBannerViewOptions : GADAdLoaderOptions
- 
                  
                  Custom rendered ad. Your application renders the ad. DeclarationObjective-C @interface DFPCustomRenderedAd : NSObject
- 
                  
                  Google Ad Manager interstitial ad, a full-screen advertisement shown at natural transition points in your application such as between game levels or news stories. DeclarationObjective-C @interface DFPInterstitial : GADInterstitial
- 
                  
                  Specifies optional parameters for ad requests. DeclarationObjective-C @interface DFPRequest : GADRequest
- 
                  
                  Displays AdChoices content. If a GADAdChoicesView is set on GADNativeAppInstallAdView or GADNativeContentAdView prior to calling -setNativeAppInstallAd: or -setNativeContentAd:, AdChoices content will render inside the GADAdChoicesView. By default, AdChoices is placed in the top right corner of GADNativeAppInstallAdView and GADNativeContentAdView. DeclarationObjective-C @interface GADAdChoicesView : UIView
- 
                  
                  Ad loader options base class. See each ad type’s header for available GADAdLoaderOptions subclasses. DeclarationObjective-C @interface GADAdLoaderOptions : NSObject
- 
                  
                  Loads ads. See GADAdLoaderAdTypes.h for available ad types. DeclarationObjective-C @interface GADAdLoader : NSObject
- 
                  
                  Reward information for GADRewardBasedVideoAd ads. DeclarationObjective-C @interface GADAdReward : NSObject
- 
                  
                  Provides audio and video notifications and configurations management. Don’t create an instance of this class and use the one available from GADMobileAds sharedInstace’s audioVideoManager. DeclarationObjective-C @interface GADAudioVideoManager : NSObject
- 
                  
                  The view that displays banner ads. A minimum implementation to get an ad from within a UIViewController class is: // Create and setup the ad view, specifying the size and origin at {0, 0}. GADBannerView *adView = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner]; adView.rootViewController = self; adView.adUnitID = @ID created when registering your app ; // Place the ad view onto the screen. [self.view addSubview:adView]; // Request an ad without any additional targeting information. [adView loadRequest:[GADRequest request]];DeclarationObjective-C @interface GADBannerView : UIView
- 
                  
                  Represents a correlation between multiple ads. Set an instance of this object on multiple ads to indicate they are being used in a common context. DeclarationObjective-C @interface GADCorrelator : NSObject
- 
                  
                  Ad loader options for adding a correlator to a native ad request. DeclarationObjective-C @interface GADCorrelatorAdLoaderOptions : GADAdLoaderOptions
- 
                  
                  Create an instance of this class to set additional parameters for each custom event object. The additional parameters for a custom event are keyed by the custom event label. These extras are passed to your implementation of GADCustomEventBanner or GADCustomEventInterstitial. DeclarationObjective-C @interface GADCustomEventExtras : NSObject <GADAdNetworkExtras>
- 
                  
                  Specifies optional ad request targeting parameters that are provided by the publisher and are forwarded to custom events for purposes of populating an ad request to a 3rd party ad network. DeclarationObjective-C @interface GADCustomEventRequest : NSObject
- 
                  
                  Displays debug options to the user. DeclarationObjective-C @interface GADDebugOptionsViewController : UIViewController
- 
                  
                  Use to configure Custom Search Ad (CSA) ad requests. A dynamic height search banner can contain multiple ads and the height is set dynamically based on the ad contents. Please cross-reference the property sections and properties with the official reference document: https://developers.google.com/custom-search-ads/docs/reference DeclarationObjective-C @interface GADDynamicHeightSearchRequest : GADRequest
- 
                  
                  Ad network extras sent to Google networks. DeclarationObjective-C @interface GADExtras : NSObject <GADAdNetworkExtras>
- 
                  
                  The consumable in-app purchase item that has been purchased by the user. The purchase flow is handled by the Google Mobile Ads SDK. Instances of this class are created and passed to your in-app purchase delegate after the user has successfully paid for a product. Your code must correctly deliver the product to the user and then call the didCompletePurchase method to finish the transaction. DeclarationObjective-C @interface GADDefaultInAppPurchase : NSObject
- 
                  
                  The in-app purchase item to be purchased with the purchase flow handled by you, the application developer. Instances of this class are created and passed to your GADInAppPurchaseDelegate object when users click a buy button. It is important to report the result of the purchase back to the SDK in order to track metrics about the transaction. DeclarationObjective-C @interface GADInAppPurchase : NSObject
- 
                  
                  An immutable snapshot of a mediation adapter’s initialization status. DeclarationObjective-C @interface GADAdapterStatus : NSObject <NSCopying>
- 
                  
                  An immutable snapshot of the Google Mobile Ads SDK’s initialization status, categorized by mediation adapter. DeclarationObjective-C @interface GADInitializationStatus : NSObject <NSCopying>
- 
                  
                  An interstitial ad. This is a full-screen advertisement shown at natural transition points in your application such as between game levels or news stories. DeclarationObjective-C @interface GADInterstitial : NSObject
- 
                  
                  Provides media content information. Interact with instances of this class on the main queue only. DeclarationObjective-C @interface GADMediaContent : NSObject
- 
                  
                  Displays native ad media content. To display media content in GADUnifiedNativeAdView instances, add a GADMediaView subview, assign the native ad view’s mediaView property, and set the native ad’s mediaContent property to the media view. If the native ad contains video content, the media view displays the video content. If the native ad doesn’t have video content and image loading is enabled, the media view displays the first image from the native ad’s |images| property. If the native ad doesn’t have video content and image loading is disabled, the media view is empty. DeclarationObjective-C @interface GADMediaView : UIView
- 
                  
                  Google Mobile Ads SDK settings. DeclarationObjective-C @interface GADMobileAds : NSObject
- 
                  
                  Ad loader options for requesting multiple ads. Requesting multiple ads in a single request is currently only available for native app install ads and native content ads. DeclarationObjective-C @interface GADMultipleAdsAdLoaderOptions : GADAdLoaderOptions
- 
                  
                  Reason for muting the ad. DeclarationObjective-C @interface GADMuteThisAdReason : NSObject
- 
                  
                  Native ad base class. All native ad types are subclasses of this class. DeclarationObjective-C @interface GADNativeAd : NSObject
- 
                  
                  Native ad image. DeclarationObjective-C @interface GADNativeAdImage : NSObject
- 
                  
                  Ad loader options for native ad image settings. DeclarationObjective-C @interface GADNativeAdImageAdLoaderOptions : GADAdLoaderOptions
- 
                  
                  Ad loader options for configuring the view of native ads. DeclarationObjective-C @interface GADNativeAdViewAdOptions : GADAdLoaderOptions
- 
                  
                  Native app install ad. To request this ad type, you need to pass kGADAdLoaderAdTypeNativeAppInstall (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader’s initializer method. If you request this ad type, your delegate must conform to the GADNativeAppInstallAdLoaderDelegate protocol. DeclarationObjective-C @interface GADNativeAppInstallAd : GADNativeAd
- 
                  
                  Base class for app install ad views. Your app install ad view must be a subclass of this class and must call superclass methods for all overriden methods. DeclarationObjective-C @interface GADNativeAppInstallAdView : UIView
- 
                  
                  Native content ad. To request this ad type, you need to pass kGADAdLoaderAdTypeNativeContent (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader’s initializer method. If you request this ad type, your delegate must conform to the GADNativeContentAdLoaderDelegate protocol. DeclarationObjective-C @interface GADNativeContentAd : GADNativeAd
- 
                  
                  Base class for content ad views. Your content ad view must be a subclass of this class and must call superclass methods for all overriden methods. DeclarationObjective-C @interface GADNativeContentAdView : UIView
- 
                  
                  Native custom template ad. To request this ad type, you need to pass kGADAdLoaderAdTypeNativeCustomTemplate (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader’s initializer method. If you request this ad type, your delegate must conform to the GADNativeCustomTemplateAdLoaderDelegate protocol. DeclarationObjective-C @interface GADNativeCustomTemplateAd : GADNativeAd
- 
                  
                  The view that displays native ads. A minimum implementation to get an ad from within a UIViewController class is: // Create and setup the ad view, specifying the size and origin at {0, 0}. GADNativeExpressAdView *adView = [[GADNativeExpressAdView alloc] initWithAdSize:kGADAdSizeBanner]; adView.rootViewController = self; adView.adUnitID = @ID created when registering your app ; // Place the ad view onto the screen. [self.view addSubview:adView]; // Request an ad without any additional targeting information. [adView loadRequest:[GADRequest request]];DeclarationObjective-C @interface GADNativeExpressAdView : UIView
- 
                  
                  Mute This Ad options. DeclarationObjective-C @interface GADNativeMuteThisAdLoaderOptions : GADAdLoaderOptions
- 
                  
                  Specifies optional parameters for ad requests. DeclarationObjective-C @interface GADRequest : NSObject <NSCopying>
- 
                  
                  Request configuration. The settings in this class will apply to all ad requests. DeclarationObjective-C @interface GADRequestConfiguration : NSObject
- 
                  
                  Represents the error generated due to invalid request parameters. DeclarationObjective-C @interface GADRequestError : NSError
- 
                  
                  The GADRewardBasedVideoAd class is used for requesting and presenting a reward based video ad. This class isn’t thread safe. DeclarationObjective-C @interface GADRewardBasedVideoAd : NSObject
- 
                  
                  The GADRewardedAd class is used for requesting and presenting a rewarded ad. DeclarationObjective-C @interface GADRewardedAd : NSObject
- 
                  
                  A view that displays search ads. To show search ads: 1) Create a GADSearchBannerView and add it to your view controller’s view hierarchy. 2) Create a GADSearchRequest ad request object to hold the search query and other search data. 3) Call GADSearchBannerView’s -loadRequest: method with the GADSearchRequest object. DeclarationObjective-C @interface GADSearchBannerView : GADBannerView
- 
                  
                  Specifies parameters for search ads. DeclarationObjective-C @interface GADSearchRequest : GADRequest
- 
                  
                  Options for server-to-server verification callbacks for a rewarded ad. DeclarationObjective-C @interface GADServerSideVerificationOptions : NSObject <NSCopying>
- 
                  
                  Unified native ad. To request this ad type, pass kGADAdLoaderAdTypeUnifiedNative (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader’s initializer method. If you request this ad type, your delegate must conform to the GADUnifiedNativeAdLoaderDelegate protocol. DeclarationObjective-C @interface GADUnifiedNativeAd : NSObject
- 
                  
                  Base class for native ad views. Your native ad view must be a subclass of this class and must call superclass methods for all overridden methods. DeclarationObjective-C @interface GADUnifiedNativeAdView : UIView
- 
                  
                  The video controller class provides a way to get the video metadata and also manages video content of the ad rendered by the Google Mobile Ads SDK. You don’t need to create an instance of this class. When the ad rendered by the Google Mobile Ads SDK loads video content, you may be able to get an instance of this class from the rendered ad object. DeclarationObjective-C @interface GADVideoController : NSObject
- 
                  
                  Video ad options. DeclarationObjective-C @interface GADVideoOptions : GADAdLoaderOptions
- 
                  
                  Notifies the Google Mobile Ads SDK about the events performed by adapters. Adapters may perform some action (e.g. opening an in app browser or opening the iTunes store) when handling callbacks from GADMediatedNativeAdDelegate. Adapters in such case should notify the Google Mobile Ads SDK by calling the relevant methods from this class. DeclarationObjective-C @interface GADMediatedNativeAdNotificationSource : NSObject
- 
                  
                  Notifies the Google Mobile Ads SDK about the events performed by adapters. Adapters may perform some action (e.g. opening an in app browser or opening the iTunes store) when handling methods in GADMediatedUnifiedNativeAd. Adapters in such case should notify the Google Mobile Ads SDK by calling the relevant methods from this class. DeclarationObjective-C @interface GADMediatedUnifiedNativeAdNotificationSource : NSObject
- 
                  
                  Provided by the Google Mobile Ads SDK for the adapter to render the ad. Contains 3PAS and other ad configuration information. DeclarationObjective-C @interface GADMediationAdConfiguration : NSObject
- 
                  
                  Undocumented DeclarationObjective-C @interface GADMediationBannerAdConfiguration : GADMediationAdConfiguration
- 
                  
                  Undocumented DeclarationObjective-C @interface GADMediationInterstitialAdConfiguration : GADMediationAdConfiguration
- 
                  
                  Undocumented DeclarationObjective-C @interface GADMediationNativeAdConfiguration : GADMediationAdConfiguration
- 
                  
                  Undocumented DeclarationObjective-C @interface GADMediationRewardedAdConfiguration : GADMediationAdConfiguration
- 
                  
                  Mediation configuration set by the publisher on the AdMob UI. DeclarationObjective-C @interface GADMediationCredentials : NSObject
- 
                  
                  Third party SDK configuration. DeclarationObjective-C @interface GADMediationServerConfiguration : NSObject
- 
                  
                  Request parameters provided by the publisher and Google Mobile Ads SDK. DeclarationObjective-C @interface GADRTBRequestParameters : NSObject