UID2 GMA Plugin for Android Integration Guide
The UID2 Google Mobile Ads (GMA) Plugin for Android enables publishers that use the Google Mobile Ads (GMA) SDK to send UID2 tokens as secure signals in ad requests from Android apps. This is done automatically, with no direct coding needed from the app developer.
This plugin simplifies integration with Google Mobile Ads (GMA) for any publishers who want to support UID2 for apps running on Android devices.
This documentation is for the UID2 GMA Plugin for Android version 0.5.0 and later.
This plugin is in the following open-source GitHub repository:
To run this plugin, install the following:
- Google Mobile Ads SDK v22.0.0 or later:
- UID2 SDK for Android v0.5.0:
- UID2 Android GMA Plugin v0.5.0
Prerequisite: Install the Google Mobile Ads SDK and the UID2 Android SDK.
Install the UID2 Android GMA Plugin v0.5.0 to an existing app with the UID2 Android SDK and Google IMA SDK installed. There are two installation options:
To install with Gradle, add the SDK as a dependency in the
To install with Maven, add the SDK as a dependency in the