Disables automated in app purchase (IAP) reporting. Must be called before any IAP transaction is
initiated. IAP reporting is used to track IAP ad conversions. Do not disable reporting if you
use IAP ads.
Disables automated SDK crash reporting. If not called, the SDK records the original exception
handler if available and registers a new exception handler. The new exception handler only
reports SDK related exceptions and calls the recorded original exception handler.
The application’s audio volume. Affects audio volumes of all ads relative to other audio output.
Valid ad volume values range from 0.0 (silent) to 1.0 (current device volume). Use this method
only if your application has its own volume controls (e.g., custom music or sound effect
volumes). Defaults to 1.0.
Indicates whether the application’s audio is muted. Affects initial mute state for all ads. Use
this method only if your application has its own volume controls (e.g., custom music or sound
effect muting). Defaults to NO.
Returns YES if the current SDK version is at least |major|.|minor|.|patch|. This method can be
used by libraries that depend on a specific minimum version of the Google Mobile Ads SDK to warn
developers if they have an incompatible version.
Available in Google Mobile Ads SDK 7.10 and onwards. Before calling this method check if the
GADMobileAds’s shared instance responds to this method. Calling this method on a Google Mobile
Ads SDK lower than 7.10 can crash the app.
Starts the Google Mobile Ads SDK. Call this method as early as possible to reduce latency on the
session’s first ad request. Calls completionHandler when the GMA SDK and all mediation networks
are fully set up or if set-up times out. The Google Mobile Ads SDK starts on the first ad
request if this method is not 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,["GADMobileAds \n\n @interface GADMobileAds : NSObject\n\nGoogle Mobile Ads SDK settings.\n- `\n ``\n ``\n `\n\n [+sharedInstance](#/c:objc(cs)GADMobileAds(cm)sharedInstance)`\n ` \n Returns the shared GADMobileAds instance. \n\n Declaration \n Objective-C \n\n + (nonnull GADMobileAds *)sharedInstance;\n\n- `\n ``\n ``\n `\n\n [+disableAutomatedInAppPurchaseReporting](#/c:objc(cs)GADMobileAds(cm)disableAutomatedInAppPurchaseReporting)`\n ` \n Disables automated in app purchase (IAP) reporting. Must be called before any IAP transaction is\n initiated. IAP reporting is used to track IAP ad conversions. Do not disable reporting if you\n use IAP ads. \n\n Declaration \n Objective-C \n\n + (void)disableAutomatedInAppPurchaseReporting;\n\n- `\n ``\n ``\n `\n\n [+disableSDKCrashReporting](#/c:objc(cs)GADMobileAds(cm)disableSDKCrashReporting)`\n ` \n Disables automated SDK crash reporting. If not called, the SDK records the original exception\n handler if available and registers a new exception handler. The new exception handler only\n reports SDK related exceptions and calls the recorded original exception handler. \n\n Declaration \n Objective-C \n\n + (void)disableSDKCrashReporting;\n\n- `\n ``\n ``\n `\n\n [applicationVolume](#/c:objc(cs)GADMobileAds(py)applicationVolume)`\n ` \n The application's audio volume. Affects audio volumes of all ads relative to other audio output.\n Valid ad volume values range from 0.0 (silent) to 1.0 (current device volume). Use this method\n only if your application has its own volume controls (e.g., custom music or sound effect\n volumes). Defaults to 1.0. \n\n Declaration \n Objective-C \n\n @property (assign, readwrite, nonatomic) float applicationVolume;\n\n- `\n ``\n ``\n `\n\n [applicationMuted](#/c:objc(cs)GADMobileAds(py)applicationMuted)`\n ` \n Indicates whether the application's audio is muted. Affects initial mute state for all ads. Use\n this method only if your application has its own volume controls (e.g., custom music or sound\n effect muting). Defaults to NO. \n\n Declaration \n Objective-C \n\n @property (assign, readwrite, nonatomic) BOOL applicationMuted;\n\n- `\n ``\n ``\n `\n\n [audioVideoManager](#/c:objc(cs)GADMobileAds(py)audioVideoManager)`\n ` \n Manages the Google Mobile Ads SDK's audio and video settings. \n\n Declaration \n Objective-C \n\n @property (readonly, strong, nonatomic, nonnull)\n ../Classes/GADAudioVideoManager.html *audioVideoManager;\n\n- `\n ``\n ``\n `\n\n [requestConfiguration](#/c:objc(cs)GADMobileAds(py)requestConfiguration)`\n ` \n Request configuration that is common to all requests. \n\n Declaration \n Objective-C \n\n @property (readonly, strong, nonatomic, nonnull)\n ../Classes/GADRequestConfiguration.html *requestConfiguration;\n\n- `\n ``\n ``\n `\n\n [initializationStatus](#/c:objc(cs)GADMobileAds(py)initializationStatus)`\n ` \n Initialization status of the ad networks available to the Google Mobile Ads SDK. \n\n Declaration \n Objective-C \n\n @property (readonly, nonatomic, nonnull)\n ../Classes/GADInitializationStatus.html *initializationStatus;\n\n- `\n ``\n ``\n `\n\n [-isSDKVersionAtLeastMajor:minor:patch:](#/c:objc(cs)GADMobileAds(im)isSDKVersionAtLeastMajor:minor:patch:)`\n ` \n Returns YES if the current SDK version is at least \\|major\\|.\\|minor\\|.\\|patch\\|. This method can be\n used by libraries that depend on a specific minimum version of the Google Mobile Ads SDK to warn\n developers if they have an incompatible version.\n\n Available in Google Mobile Ads SDK 7.10 and onwards. Before calling this method check if the\n GADMobileAds's shared instance responds to this method. Calling this method on a Google Mobile\n Ads SDK lower than 7.10 can crash the app. \n\n Declaration \n Objective-C \n\n - (BOOL)isSDKVersionAtLeastMajor:(NSInteger)major\n minor:(NSInteger)minor\n patch:(NSInteger)patch;\n\n- `\n ``\n ``\n `\n\n [-startWithCompletionHandler:](#/c:objc(cs)GADMobileAds(im)startWithCompletionHandler:)`\n ` \n Starts the Google Mobile Ads SDK. Call this method as early as possible to reduce latency on the\n session's first ad request. Calls completionHandler when the GMA SDK and all mediation networks\n are fully set up or if set-up times out. The Google Mobile Ads SDK starts on the first ad\n request if this method is not called. \n\n Declaration \n Objective-C \n\n - (void)startWithCompletionHandler:\n (nullable ../Type-Definitions.html#/c:GADMobileAds.h@T@GADInitializationCompletionHandler)completionHandler;\n\n[Deprecated](#/Deprecated)\n\n- `\n ``\n ``\n `\n\n [+configureWithApplicationID:](#/c:objc(cs)GADMobileAds(cm)configureWithApplicationID:)`\n ` \n Configures the SDK using the settings associated with the given application ID. \n\n Declaration \n Objective-C \n\n + (void)configureWithApplicationID:(nonnull NSString *)applicationID;"]]