Enumerations
The following enumerations are available globally.
-
Position of the AdChoices icon in the containing ad.
Declaration
Swift
enum AdChoicesPosition : Int, @unchecked SendableObjective-C
enum GADAdChoicesPosition : NSInteger {} -
Requested ad format.
Declaration
Swift
enum AdFormat : Int, @unchecked SendableObjective-C
enum GADAdFormat : NSInteger {} -
Undocumented
Declaration
Swift
enum AdValuePrecision : Int, @unchecked SendableObjective-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 } -
Undocumented
Declaration
Swift
enum AdapterInitializationState : Int, @unchecked SendableObjective-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 MediaAspectRatio : Int, @unchecked SendableObjective-C
enum GADMediaAspectRatio : NSInteger {} -
Error codes in the Google Mobile Ads SDK domain that surface due to errors when attempting to present an ad.
Declaration
Swift
typealias PresentationError.Code._ErrorType = PresentationErrorObjective-C
enum GADPresentationErrorCode : NSInteger {} -
Publisher privacy treatment personalization states.
Declaration
Swift
enum PublisherPrivacyPersonalizationState : Int, @unchecked SendableObjective-C
enum GADPublisherPrivacyPersonalizationState : NSInteger {} -
NSError codes for GAD error domain.
Declaration
Swift
typealias RequestError.Code._ErrorType = RequestErrorObjective-C
enum GADErrorCode : NSInteger {} -
These are the types of animation we employ for transitions between two mediated ads.
Declaration
Swift
enum MediationBannerAnimationType : Int, @unchecked SendableObjective-C
enum GADMBannerAnimationType : NSInteger {}