Enumerations
The following enumerations are available globally.
-
Requested ad format.
Declaration
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 {}
-
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 {}
-
Search ad border types.
Declaration
Swift
enum GADSearchBorderType : UInt
Objective-C
enum GADSearchBorderType {}
-
Search ad call button color types.
Declaration
Swift
enum GADSearchCallButtonColor : UInt
Objective-C
enum GADSearchCallButtonColor {}
-
These are the types of animation we employ for transitions between two mediated ads.
Declaration
Swift
enum GADMBannerAnimationType : Int
Objective-C
enum GADMBannerAnimationType {}