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.

Classes

The following classes are available globally.

  • A single use consent form object.

    Declaration

    Swift

    class UMPConsentForm : NSObject

    Objective-C

    @interface UMPConsentForm : NSObject
  • Consent information. All methods must be called on the main thread.

    Declaration

    Swift

    class UMPConsentInformation : NSObject

    Objective-C

    @interface UMPConsentInformation : NSObject
  • Overrides settings for debugging or testing.

    Declaration

    Swift

    class UMPDebugSettings : NSObject, NSCopying

    Objective-C

    @interface UMPDebugSettings : NSObject <NSCopying>
  • Parameters sent on updates to user consent info.

    Declaration

    Swift

    class UMPRequestParameters : NSObject

    Objective-C

    @interface UMPRequestParameters : NSObject