Share your feedback and help shape the Google Mobile Ads SDK roadmap. Take the Google Mobile Ads SDK Annual Survey for 2023 before it closes on May 5th, 2023.

GoogleMobileAds Framework Reference

Stay organized with collections Save and categorize content based on your preferences.

Enumerations

The following enumerations are available globally.

  • Consent status values.

    Declaration

    Swift

    enum UMPConsentStatus : Int, @unchecked Sendable

    Objective-C

    enum UMPConsentStatus : NSInteger {}
  • State values for whether the user has a consent form available to them. To check whether form status has changed, an update can be requested through requestConsentInfoUpdateWithParameters:completionHandler.

    Declaration

    Swift

    enum UMPFormStatus : Int, @unchecked Sendable

    Objective-C

    enum UMPFormStatus : NSInteger {}
  • Debug values for testing geography.

    Declaration

    Swift

    enum UMPDebugGeography : Int, @unchecked Sendable

    Objective-C

    enum UMPDebugGeography : NSInteger {}
  • Error codes used when making requests to update consent info.

    Declaration

    Swift

    enum UMPRequestErrorCode : Int, @unchecked Sendable

    Objective-C

    enum UMPRequestErrorCode : NSInteger {}
  • Error codes used when loading and showing forms.

    Declaration

    Swift

    enum UMPFormErrorCode : Int, @unchecked Sendable

    Objective-C

    enum UMPFormErrorCode : NSInteger {}