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

  • UMPDebugSettings is a class in Objective-C for overriding settings for debugging or testing.

  • The testDeviceIdentifiers property is an array of device identifier strings that enable debug features for the specified devices.

  • The geography property is a setting for specifying the debug geography.

UMPDebugSettings


@interface UMPDebugSettings : NSObject <NSCopying>

Overrides settings for debugging or testing.

  • Array of device identifier strings. Debug features are enabled for devices with these identifiers. Debug features are always enabled for simulators.

    Declaration

    Swift

    var testDeviceIdentifiers: [String]? { get set }

    Objective-C

    @property (nonatomic, copy, nullable) NSArray<NSString *> *testDeviceIdentifiers;
  • Debug geography.

    Declaration

    Swift

    var geography: DebugGeography { get set }

    Objective-C

    @property (nonatomic) UMPDebugGeography geography;

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.