Google Play Compliance
This section covers common Google Play compliance requirements related to WebEngage Android SDK integrations.
By the end of this section, you will:
- Understand why Google Play compliance warnings may appear
- Ensure your application uses a policy-compliant WebEngage SDK version
- Update release tracks with compliant SDK versions
- Complete the Advertising ID declaration form correctly
Why Did I Receive a Google Play Warning for WebEngage SDK?
You may receive a warning email from Google Play similar to the following:
Your app is using the WebEngage SDK, which collects Advertiser ID and Android ID. Persistent device identifiers may not be linked to other personal and sensitive user data or resettable device identifiers.
This warning generally appears when:
- Your app uses an older version of WebEngage SDK
- A non-compliant APK/App Bundle exists in any Play Console release track
- Advertising ID usage has not been declared properly in Play Console
Recommended Actions
Follow the steps below to resolve the compliance warning.
1. Upgrade to the Latest WebEngage SDK
Ensure your application uses the latest version of WebEngage SDK.
👉 Refer to Android SDK changelog:
https://docs.webengage.com/docs/changelogs-android
2. Update All Release Tracks
Google scans all release tracks, including:
- Production
- Internal Testing
- Closed Testing
- Open Testing
Make sure all tracks use a compliant SDK version.
3. Remove Non-Compliant APKs/App Bundles
Inside Google Play Console:
Manage Track → Create New ReleaseEnsure:
- Old non-compliant APKs/App Bundles are removed
- Violating versions appear under Not Included
- New compliant versions are rolled out to all tracks
4. Review Google Play Policies
Review and ensure compliance with:
- User Data Policy
- Advertising ID Policy
- Google Play Developer Program Policies
👉 Google Play Policy Center: https://support.google.com/googleplay/android-developer
Advertising ID Tracking and Declaration
Tracking
Please NoteAdding the Google Play Service Ads dependency is optional. Use it only if you have integrations enabled with other attribution partners. Kindly, upgrade to the latest WebEngage version to enable proper tracking of GAID on Android 13 devices and above.
For tracking the Google Advertising ID, add a dependency of Google Play Service Ads in your app/build.gradle file.
dependencies {
implementation 'com.google.android.gms:play-services-ads:20.2.0'
}Add your AdMob app ID to your app's AndroidManifest.xml file as follows: You can find or generate your AdMob ID here
<manifest>
<application>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
</application>
</manifest>Once above steps have been implemented, WebEngage will start tracking the advertising ID.
Tracking Advertising ID for selected users
WebEngage tracks the advertising ID for all users. If you want to track the Advertising ID for selective users, follow below steps.
In the WebEngage Config Builder, disable auto GAID tracking by using .setAutoGAIDTracking(false) as follows.
WebEngageConfig.Builder builder = new WebEngageConfig.Builder()
.setWebEngageKey(LICENSE_CODE)
.setAutoGAIDTracking(false);val builder: WebEngageConfig.Builder = WebEngageConfig.Builder()
.setWebEngageKey(LICENSE_CODE)
.setAutoGAIDTracking(false)You can then enable the advertisement ID tracking for any user by using below code.
WebEngage.get().startGAIDTracking();WebEngage.get().startGAIDTracking()
Please NoteThis is supported from WebEngage SDK
v4.4.3.After the user logs out, the GAID tracking will be disabled for the new user by default. You need to call the
startGAIDTracking()function for the new user again.Once enabled, for the given user, the advertising ID will be tracked for the device till the user calls the logout function.
Google Advertisement ID changes (Android 13 and above)
In late 2021, Google announced updates to Google Play service policies in relation to collecting Android Advertising ID. Read here to more about the changes.
Due to these changes, to access the device's Advertising ID, apps targeting Android 13 (API 33) and higher will need to declare a regular Google Play services permission in their manifest file.
The permission is granted at installation time because it is not a run-time authorization.
SDK changes
The AD ID permission is now declared in the SDK's AndroidManifest.xml as of WebEngage Android SDK V3.21.0. The SDK's manifest automatically combines with your app's manifest when the app is developed, adding the permission even if the app doesn't explicitly declare it. There won't be a collision if the permission is present in both the app and the SDK.
<manifest ...>
<!-- Required only if your app targets Android 13 or higher. -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
<application ...>
...
</application>
</manifest>Kids Apps: According to Google’s Policy, apps that target children must not transmit the Advertising ID. If you're building an app for kids and you are using SDK V3.21.0 and above, you must revoke the AD_ID permission.
<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>Impact on Hybrid SDKs (React, Cordova, Flutter. etc.)
Refer these React, Cordova and Flutter documents to make your apps compatible with Android 13 Advertising ID policy changes.
Declaration
Google requires applications using Advertising ID (AD_ID) directly or through third-party SDKs to complete the Advertising ID declaration form.
This requirement was introduced by Google in 2022.
Since WebEngage SDK accesses Google Advertising ID (GAID) as per your integration, applications integrating WebEngage must declare the usage appropriately in Play Console.
Open Advertising ID Form
Navigate to:
Google Play Console → Policy and Programs → App Content → Actioned Tab → Advertising ID
Click Manage to open the declaration form.
Select Applicable Usage
If your application uses WebEngage SDK with Advertising ID enabled, select the following purposes:
Usage Type
- Analytics
- Advertising or Marketing
- Personalization
- These selections correspond to WebEngage features such as analytics, user engagement, campaign targeting, and personalization.
- Ensure the declaration accurately reflects your application's actual usage of Advertising ID.
Additional Notes
- WebEngage uses Advertising ID to support analytics, attribution, personalization, and engagement use cases.
- Advertising ID collection depends on your integration and enabled features.
- Always keep your SDK updated to remain compliant with evolving Google Play policies.
Verify Compliance
After uploading the compliant APK/App Bundle:
- Ensure all release tracks are updated
- Verify old APKs are removed
- Confirm Advertising ID declaration form is submitted
- Monitor Play Console for updated policy status
Updated 3 minutes ago