To discuss and provide feedback on our products, join the official AdMob Discord channel in the Google Advertising and Measurement Community server.

GoogleUserMessagingPlatform Framework Reference

  • UMPDebugGeography is an enum used for testing geography for debug devices.

  • It includes options to simulate geography in the EEA, a regulated US State, a region with no regulation, or to disable geography debugging.

  • UMPDebugGeographyNotEEA is deprecated and should be replaced by UMPDebugGeographyOther.

UMPDebugGeography

enum UMPDebugGeography : NSInteger {}

Debug values for testing geography.

  • < Disable geography debugging.

    Declaration

    Swift

    case disabled = 0

    Objective-C

    UMPDebugGeographyDisabled = 0
  • < Geography appears as in EEA for debug devices.

    Declaration

    Swift

    case EEA = 1

    Objective-C

    UMPDebugGeographyEEA = 1
  • < Geography appears as in a regulated US State.

    Declaration

    Swift

    case regulatedUSState = 3

    Objective-C

    UMPDebugGeographyRegulatedUSState = 3
  • < Geography appears as in a region with no regulation in force.

    Declaration

    Swift

    case other = 4

    Objective-C

    UMPDebugGeographyOther = 4
  • Deprecated

    Deprecated. Use UMPDebugGeographyOther.

    Undocumented

    Declaration

    Swift

    case notEEA = 2

    Objective-C

    UMPDebugGeographyNotEEA
     __attribute__((deprecated("Deprecated. Use UMPDebugGeographyOther."))) = 2

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年08月20日 UTC.