Enums

The following enums are available globally.

  • Enum of the different statuses resulting from processing a purchase.

    Declaration

    Swift

    enum GADInAppPurchaseStatus : Int

    Objective-C

    enum GADInAppPurchaseStatus : NSInteger {}
  • Position of the AdChoices icon in the containing ad.

    Declaration

    Objective-C

    enum GADAdChoicesPosition : NSInteger {}
  • Genders to help deliver more relevant ads.

    Declaration

    Swift

    enum GADGender : Int

    Objective-C

    enum GADGender : NSInteger {}
  • NSError codes for GAD error domain.

    Declaration

    Swift

    enum GADErrorCode : Int

    Objective-C

    enum GADErrorCode : NSInteger {}
  • Search ad border types.

    Declaration

    Swift

    enum GADSearchBorderType : UInt

    Objective-C

    enum GADSearchBorderType : NSUInteger {}
  • Search ad call button color types.

    Declaration

    Swift

    enum GADSearchCallButtonColor : UInt

    Objective-C

    enum GADSearchCallButtonColor : NSUInteger {}
  • These are the types of animation we employ for transitions between two mediated ads.

    Declaration

    Swift

    enum GADMBannerAnimationType : Int

    Objective-C

    enum GADMBannerAnimationType : NSInteger {}