AI-generated Key Takeaways
-
The UMP SDK interprets GDPR consent choices for Google Consent Mode.
-
The UMP SDK interprets consent for ad storage, ad personalization, ad user data, and analytics storage.
-
Interpreting consent mode values is helpful for apps that obtain consent for product usage.
-
Before starting, ensure you are using the Google Analytics for Firebase SDK and choose between basic and advanced consent modes.
-
To get started, turn on consent mode in the AdMob UI, use a compatible UMP SDK version, and initialize Firebase before the UMP SDK.
The UMP SDK can interpret GDPR consent choices for Google Consent Mode. The UMP SDK interprets the following purposes:
- ad storage
- ad personalization
- ad user data
- analytics storage
Interpreting consent mode values is useful for apps that get consent for the use of your products.
Before you begin
- Make sure you are using the Google Analytics for Firebase SDK in your app.
- Choose Basic versus advanced consent mode. Google supports advanced mode by default, while basic mode has additional steps.
Get started
Turn on consent mode in the AdMob UI. For more details, see Manage consent mode settings.
Use UMP SDK version 3.2.0 (Android) or 3.0.0 (iOS) or higher.
Initialize Firebase before starting the UMP SDK. For more details, see Add the Analytics SDK to your app.
Set default consent state
The UMP SDK updates the consent state when European Union (EU) regulations apply to the user. Set the default consent state (Android | iOS) when EU regulations don't apply to the user.
Use basic mode
To use basic mode, see Consent mode basic mode support.