Enumerations
The following enumerations are available globally.
-
Requested ad format.
Declaration
Swift
enum GADAdFormat : Int
Objective-C
enum GADAdFormat {}
-
Undocumented
Declaration
Swift
enum GADAdValuePrecision : Int
Objective-C
NS_ENUM(NSInteger, GADAdValuePrecision) { /// An ad value with unknown precision. GADAdValuePrecisionUnknown = 0, /// An ad value estimated from aggregated data. GADAdValuePrecisionEstimated = 1, /// A publisher-provided ad value, such as manual CPMs in a mediation group. GADAdValuePrecisionPublisherProvided = 2, /// The precise value paid for this ad. GADAdValuePrecisionPrecise = 3 }
-
Enum of the different statuses resulting from processing a purchase.
Declaration
Swift
enum GADInAppPurchaseStatus : Int
Objective-C
enum GADInAppPurchaseStatus {}
-
Undocumented
Declaration
Swift
enum GADAdapterInitializationState : Int
Objective-C
NS_ENUM(NSInteger, GADAdapterInitializationState) { /// The mediation adapter is less likely to fill ad requests. GADAdapterInitializationStateNotReady = 0, /// The mediation adapter is ready to service ad requests. GADAdapterInitializationStateReady = 1 }
-
Media aspect ratio.
Declaration
Swift
enum GADMediaAspectRatio : Int
Objective-C
enum GADMediaAspectRatio {}
-
Native ad image orientation preference.
Declaration
Swift
enum GADNativeAdImageAdLoaderOptionsOrientation : Int
Objective-C
enum GADNativeAdImageAdLoaderOptionsOrientation {}
-
Position of the AdChoices icon in the containing ad.
Declaration
Swift
enum GADAdChoicesPosition : Int
Objective-C
enum GADAdChoicesPosition {}
-
Error codes in the Google Mobile Ads SDK domain that surface due to errors when attempting to present an ad.
Declaration
Swift
enum GADPresentationErrorCode : Int
Objective-C
enum GADPresentationErrorCode {}
-
Deprecated gender constants.
Declaration
Swift
enum GADGender : Int
Objective-C
enum GADGender {}
-
NSError codes for GAD error domain.
Declaration
Swift
enum GADErrorCode : Int
Objective-C
enum GADErrorCode {}
-
These are the types of animation we employ for transitions between two mediated ads.
Declaration
Swift
enum GADMBannerAnimationType : Int
Objective-C
enum GADMBannerAnimationType {}