How to Complete Google Play's Data Safety Section for Closed Testing
Avoid release rejections during closed testing. Complete guide to Google Play Data Safety: declaring AdMob, Firebase, location, and user data correctly.
Table of Contents
Section Guide1. The Data Safety Section as a Gatekeeper
When you upload your first release to Closed Testing, Google’s automated compliance scanners inspect your compiled binary for known third-party SDK signatures, permissions, and network endpoints. If your Data Safety Section does not declare data collected by integrated libraries—such as Google Mobile Ads (AdMob), Firebase Analytics, or Facebook Audience Network—Google will immediately reject your release before it ever reaches your testers.
Google treats Data Safety declarations with extreme legal seriousness. A discrepancy between your declared data practices and your application’s actual binary behavior violates the Developer Program Policy and can result in account suspension.
2. Exact Data Declarations for Common Android SDKs
Below is the exact declaration mapping for the most popular third-party SDKs used by indie Android creators:
| Integrated SDK | Data Types Collected | Purpose to Select | Ephemeral / Encrypted? |
|---|---|---|---|
| Google AdMob | Device or other IDs (Advertising ID), Coarse Location | Advertising or Marketing, Analytics | Encrypted in transit; Optional collection |
| Firebase Analytics | App interactions, In-app search history, Device IDs | Analytics, App functionality | Encrypted in transit; Ephemeral |
| Firebase Crashlytics | Crash logs, Diagnostics, Device state | Analytics, Developer communications | Encrypted in transit; Mandatory for diagnostics |
| RevenueCat | Purchase history, User IDs | App functionality, Account management | Encrypted in transit; Tied to user account |
3. Synchronizing Your Data Safety Declarations with Your Privacy Policy
Google’s automated review scanners compare the data declared in your Play Console questionnaire against the text of your hosted Privacy Policy URL. Your privacy policy must explicitly name the third-party providers integrated into your software and describe their data retention policies.
Many developers check "No, my app does not collect or share user data" believing it simplifies the review. If your compiled AAB imports com.google.android.gms:play-services-ads, Google’s automated static analyzer detects the Advertising ID API and flags your release for false disclosure.
4. Step-by-Step Data Safety Completion Walkthrough
- Navigate to Policy and programs > App content > Data safety in Play Console.
- Under "Data collection and security", declare whether your app collects data and whether all collected data is encrypted in transit over HTTPS.
- Under "Data types", select only the specific categories required by your core features and SDKs.
- Under "Data usage and handling", mark whether data collection is required or can be opted out by users.
- Save and review your store listing preview before submitting your closed testing release.
5. Deep Dive: Location Data and Background Tracking
Location data is subject to the highest level of regulatory scrutiny on Google Play. If your AndroidManifest.xml includes ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION, or ACCESS_BACKGROUND_LOCATION, you must complete specialized declarations in the Data Safety form:
- Precise vs. Approximate Location: If your application only needs city-level weather or regional content, declare Approximate location and remove
ACCESS_FINE_LOCATIONfrom your manifest. Declaring approximate location reduces compliance friction significantly. - Background Location Declaration: Requesting background location requires formal approval from Google’s policy review committee via a dedicated video demonstration. If your core application feature does not strictly require location when the app is minimized (e.g. navigation turn-by-turn or lone worker safety), avoid background location entirely.
- Third-Party Ad SDK Location Snooping: Many legacy advertising SDKs attempt to access device geolocation to serve localized banner ads. Ensure your AdMob or Unity Ads configuration explicitly disables coarse location collection unless your app requires it for user-facing features.
6. Handling Advertising ID (AAID) and Device Identifiers
Starting with Android 13 (API level 33), applications that target modern Android releases and read the Google Play Advertising ID must declare the permission in their manifest:
<!-- Required for AdMob and ad tracking on Android 13+ -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
When this permission is included in your manifest, you must answer "Yes" to the Play Console questionnaire regarding whether your app uses the Advertising ID, select "Advertising or Marketing" as the primary purpose, and declare that users can reset or opt out of personalized advertising via their Android system settings.
7. Top 5 Data Safety Rejection Reasons and How to Avoid Them
| Violation Notice | Root Cause in Code | Resolution Strategy |
|---|---|---|
| "Undeclared Device Identifiers" | Importing Firebase Analytics or AppsFlyer without declaring "Device or other IDs". | Update Data Safety section to include Device IDs for Analytics purposes. |
| "Privacy Policy Inaccessible" | Privacy policy URL returns 404, 500 error, or requires user login. | Host your privacy policy on a reliable, public HTTPS webpage (e.g. GitHub Pages or your custom domain). |
| "Missing In-App Account Deletion" | Apps supporting account registration missing a self-serve account deletion mechanism. | Provide an in-app "Delete Account" button that permanently purges user data, plus a public web deletion request form. |
| "Financial Data Undeclared" | Integrating Stripe, Google Play Billing, or PayPal without declaring payment info collection. | Declare Purchase History under Financial Info for App Functionality. |
| "Non-Compliant Child Audience Declarations" | Targeting children under 13 while using ad SDKs not certified for Families policy. | Only use Google Play Certified Ad SDKs and enable child-directed flags (tagForChildDirectedTreatment). |
8. Frequently Asked Questions on Data Safety
Need 15 Verified Android Testers for 14 Days?
Pass Google Play closed testing on your first try. Real devices, diverse networks, console feedback, and guaranteed production approval.
- 15 Real Devices (+3 Buffer Capacity)
- 14 Days of Continuous Retention
- Written Testing Feedback in Console
- 100% Money-Back Approval Guarantee
Third-Party SDK Disclosures: What Popular Libraries Collect
A staggering 80% of Data Safety audit failures occur because developers only declare what their own custom code collects, completely forgetting the third-party SDKs embedded in their application. Under Google Play developer policy, you are legally and contractually responsible for every piece of user data collected or transmitted by libraries linked in your build.gradle.
| SDK / Library | Data Categories Collected | Purpose of Collection | Is it Shared with Third Parties? |
|---|---|---|---|
| Google Mobile Ads (AdMob) | Device IDs, IP address, coarse location, app interaction | Advertising / Marketing, Analytics | Yes (Shared with advertising networks) |
| Firebase Analytics | Crash logs, performance metrics, device model, Android OS version | Analytics, App Functionality | No (Processed on developer's behalf) |
| Facebook / Meta SDK | Advertising IDs (GAID), installation referral data, deep link events | Advertising / Marketing | Yes (Cross-app tracking) |
| Stripe / PayPal SDK | Name, email, payment card tokens, physical billing address | Fraud prevention, payment processing | No (Transmitted strictly for transactions) |
| Sentry / Bugsnag | Stack traces, device hardware info, breadcrumb actions | Analytics, Diagnostics | No (Processed strictly for crash reporting) |
Ephemeral Data vs Persistent Data: Clarifying Definitions
Google Play policy distinguishes between data that is collected and processed "ephemerally" in RAM versus data that is persisted or transmitted to off-device servers. You do not need to disclose data as "Collected" if it meets both of the following criteria:
- The data is processed in real time solely in device memory and is never written to disk, local storage, databases, or sent across the network.
- The data is discarded immediately after servicing the immediate user request (for example, reading a contact's phone number strictly to populate a local text message draft without saving it to an internal database).
However, if your app transmits user data to an API server that logs IP addresses in web server access logs (such as Nginx or AWS CloudWatch), that data is persisted and must be explicitly declared under "Device or other IDs > Analytics" in your Data Safety questionnaire.
Account Deletion URL & In-App Deletion Requirements
Under Google Play's mandatory user data deletion policy (enforced strictly since May 2024), if your application allows users to create an account, you must provide both of the following features:
- An In-App Deletion Option: A clearly visible button inside your app's Settings or Profile menu (e.g., "Delete Account and Associated Data").
- A Web-Based Deletion URL: A publicly accessible web link where users can submit an account deletion request without having to re-install your application or log back in.
In your Google Play Console Data Safety section, you must paste this web URL under the "Data deletion" questions. The web page must clearly explain what user data is deleted immediately, what data is retained for legal/tax compliance (such as purchase invoices), and the exact timeframe within which the deletion is executed (maximum 30 days).
Audit Checklist: Reconciling Privacy Policy with Play Store Declarations
Before submitting your closed testing build, verify that your declarations match your legal documentation word for word:
- HTTPS Encryption: Confirm that all API endpoints use modern TLS 1.2+ encryption. You must check "All user data collected is encrypted in transit" in the Data Safety form.
- Children's Privacy (COPPA): If your app targets users under 13, you cannot collect Advertising IDs (AAID), Precise Location, or Phone numbers without explicit parental consent.
- No Undisclosed Background Tracking: Ensure that background location (
ACCESS_BACKGROUND_LOCATION) is not declared unless you have completed the supplementary Prominent Disclosure and User Consent flow.