diff --git a/analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs b/analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs index 1a7aa827..c598806f 100644 --- a/analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs +++ b/analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs @@ -128,13 +128,17 @@ public void AnalyticsSetConsent() { FirebaseAnalytics.SetConsent(new Dictionary() { { ConsentType.AnalyticsStorage, ConsentStatus.Denied }, - { ConsentType.AdStorage, ConsentStatus.Denied } + { ConsentType.AdStorage, ConsentStatus.Denied }, + { ConsentType.AdUserData, ConsentStatus.Denied }, + { ConsentType.AdPersonalization, ConsentStatus.Denied } }); FirebaseAnalytics.SetConsent(new Dictionary()); FirebaseAnalytics.SetConsent(new Dictionary() { { ConsentType.AnalyticsStorage, ConsentStatus.Granted }, - { ConsentType.AdStorage, ConsentStatus.Granted } + { ConsentType.AdStorage, ConsentStatus.Granted }, + { ConsentType.AdUserData, ConsentStatus.Granted }, + { ConsentType.AdPersonalization, ConsentStatus.Granted } }); }