Method EnableConsentDebugging
EnableConsentDebugging(ConsentDebugGeography, List<TestDevice>)
Makes UMP treat this device as if it were in geography, so the consent form can be
exercised from a region that would not otherwise show one. Call before
RequestUmpConsentAsync(), in development builds only — remove before shipping.
public static void EnableConsentDebugging(ConsentDebugGeography geography, List<TestDevice> devices)
Parameters
geographyConsentDebugGeographyRegion to simulate. EEA to get the GDPR form.
devicesList<TestDevice>Devices the override applies to — UMP ignores it on every other device. Each
Idis the UMP hashed device ID, which UMP prints to the device log on first run. It is a different value from the AdMob test device ID used byAdMobModule.EnableTestAds.