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.

Constants

The following constants are available globally.

  • SDK version string, of a form “major.minor.patch”.

    Declaration

    Swift

    let UMPVersionString: String

    Objective-C

    extern NSString *const _Nonnull UMPVersionString
  • Error domain for all SDK errors.

    Declaration

    Swift

    let UMPErrorDomain: String

    Objective-C

    extern NSErrorDomain _Nonnull const UMPErrorDomain