Guide #51 · Play Console Policy & Compliance · 10 min read · 1835 words · Verified 2026-11-25

Configuring Google Play Advertising ID (AD_ID), AdMob app-ads.txt & Target Audience / Families Policy Without Stalling Closed Testing

Prevent merged-manifest AD_ID mismatches, accidental Under-13 Families Policy rejections, and AdMob invalid-traffic account limits before launching your 14-day Google Play closed testing cycle.

By GOOtester Android Release Engineering (Production Launch, Telemetry & App Security)

Three-way compliance alignment matrix connecting Android merged manifest AD_ID, Play Console App Content, and Data Safety declarations
Aligning merged AndroidManifest.xml permissions, App Content declarations, AdMob safeguards, and Target Audience age brackets.

Executive Summary & Citation-Ready Key Takeaways (TL;DR)

  • Analytics and monetization dependencies such as Firebase Analytics, Crashlytics measurement modules, and Google Mobile Ads automatically inject com.google.android.gms.permission.AD_ID into your merged AndroidManifest.xml across Android 13 through Android 15 release builds.
  • Every compiled Android App Bundle containing AD_ID must maintain strict three-way consistency across its merged manifest permissions, Policy > App content > Advertising ID, and Data safety > Device or other IDs.
  • Serving live production AdMob ad units to a small 12-to-25-person closed testing cohort risks automated Invalid Traffic ad-serving limits unless you gate pre-production builds behind Google's official Demo Test Ad Units.
  • Checking any Under-13 age bracket inside Target Audience immediately enrolls your binary into Google Play Families Policy, where transmitting AD_ID or bundling non-certified ad SDKs triggers deterministic binary review rejection.
  • Publishing a verified app-ads.txt authorization record at the root HTTPS domain of the Developer Website listed on your Store Listing ensures AdMob inventory verification completes cleanly before public Production launch.

1. 1. Resolving `com.google.android.gms.permission.AD_ID` Merged Manifest Mismatches

One of the most frequent build-blocking errors when uploading an Android 13+ (`targetSdk 33` through `targetSdk 35`) App Bundle to Closed Testing is Play Console flagging an undeclared `com.google.android.gms.permission.AD_ID` permission—even when you never wrote `AD_ID` anywhere in your own `app/src/main/AndroidManifest.xml`.

This happens because Gradle's manifest merger combines `<uses-permission>` declarations from every transitive AAR dependency in your dependency tree. Including `firebase-analytics`, `play-services-measurement-api`, `play-services-ads`, RevenueCat, Adjust, or Crashlytics companion modules frequently merges `AD_ID` silently into `app/build/intermediates/merged_manifests/release/AndroidManifest.xml`.

You have two deterministic engineering fixes depending on your product architecture: if your app legitimately uses analytics attribution or ad monetization, keep the permission and answer **Yes** inside **App content > Advertising ID**. Conversely, if your app is an ad-free utility that never reads the Advertising ID, strip the injected node explicitly with `tools:node="remove"` and disable AdID collection in your analytics metadata.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

    <!-- Option A: Remove transitive AD_ID for ad-free / Families apps -->
    <uses-permission
        android:name="com.google.android.gms.permission.AD_ID"
        tools:node="remove" />

    <application>
        <meta-data
            android:name="google_analytics_adid_collection_enabled"
            android:value="false" />
    </application>
</manifest>

2. 2. Three-Way Alignment: Merged Manifest, Advertising ID & Data Safety

Play Console runs automated static bytecode inspection across every uploaded `.aab` and cross-checks the binary against both **App content > Advertising ID** and **App content > Data safety**. Answering **Yes** to Advertising ID while answering **No, my app does not collect or share user data** on your Data Safety form creates an instant logical contradiction that stalls Closed Testing review.

Whenever your merged manifest retains `AD_ID` and initializes an SDK such as AdMob or Firebase Analytics, open your Data Safety questionnaire, select **Device or other IDs**, mark it as **Collected** (and **Shared** if transmitted to third-party ad bidding networks), confirm TLS encryption in transit, and match the exact usage purposes (`Analytics`, `Advertising or marketing`, `Fraud prevention, security, and compliance`) declared in your Advertising ID form.

Always inspect Play Console's **Bundle Explorer > Permissions** tab right after uploading a release candidate. Verifying the exact merged permission list compiled into your signed AAB takes thirty seconds and prevents multi-day policy rejection round-trips.

App ArchitectureMerged Manifest AD_IDApp Content: Advertising IDData Safety: Device or Other IDs
Pure Offline Utility (No SDKs)AbsentDeclare 'No'Not collected / Not shared
Firebase Analytics (AdID Disabled)Removed via tools:node='remove'Declare 'No'Declare App Instance ID if analytics enabled
Firebase Analytics (Default)PresentDeclare 'Yes' (Analytics)Collected (Analytics)
AdMob Monetized App (18+ / 13+)PresentDeclare 'Yes' (Ads + Analytics + Fraud)Collected & Shared (Advertising / Analytics)
Decision flowchart for AD_ID declaration, AdMob test ad gating during closed testing, and Target Audience age selection
How transitive SDK dependencies inject AD_ID and why selecting Under-13 target audiences triggers strict Families Policy blocks.

3. 3. Protecting Your AdMob Account During Closed Testing & Hosting `app-ads.txt`

Indie developers monetizing with Google AdMob face a critical operational hazard during 14-day closed testing: if 12 to 25 closed testers repeatedly open screens rendering live production AdMob banners, rewarded videos, or interstitials while total global Play Store traffic is tiny, AdMob's automated Invalid Traffic (IVT) risk engine frequently flags abnormal impression-to-click density and imposes an **Ad serving limit** right before your public launch.

Protect your publisher standing by serving Google's official Demo Test Ad Unit IDs (or dynamically switching between test ad units and live ad units via remote config / build flavor until Production graduation), and register physical development handsets via `RequestConfiguration.Builder().setTestDeviceIds(...)`. Never ask testers to click ads `'to verify they work'`.

At the same time, configure your `app-ads.txt` authorization file early. Host `https://example.com/app-ads.txt` containing your exact `google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0` record at the root domain matching the **Developer website** URL entered in **Grow > Store presence > Store settings**, allowing Google's crawler to verify ownership before Production traffic scales.

4. 4. The Target Audience Trap: Why Checking 'Under 13' Triggers Instant Rejections

Inside **Policy > App content > Target audience and content**, Play Console asks which age groups your app targets: `Under 5`, `6–8`, `9–12`, `13–15`, `16–17`, and `18 and over`. Many developers building harmless habit trackers, study timers, or puzzle games check **every single box** thinking, `'Children could safely use my app too!'`

Checking *any* age bracket under 13 enrolls your binary into Google Play's **Families Policy**—the strictest compliance regime on Android. Under Families rules, transmitting `AD_ID` is unconditionally forbidden (causing automatic rejection if `AD_ID` exists in your manifest), every bundled SDK must belong to Google's Families Self-Certified Ads SDK program, Google Sign-In / OAuth flows face strict child restrictions, and mixed-audience apps must implement a neutral age screen (`AgeGate`) that dynamically disables personalized tracking for minors.

Unless your application is intentionally engineered from the ground up for children under 13, select **`18 and over`** (or `13–15`, `16–17`, `18 and over` if built for teens and adults, ensuring you also select `'No'` when asked if your store listing could unintentionally appeal to children via cartoon mascots).

  • General Consumer / Productivity / SaaS Apps: Select 18+ (or 16–17 and 18+) unless minors are an explicit product audience.
  • Unintentional Appeal Check: Avoid child-oriented cartoon characters in your icon if your target audience excludes Under-13.
  • Zero AD_ID in Child-Directed Builds: Apps targeting solely children must strip `com.google.android.gms.permission.AD_ID` completely.
  • Neutral Age Screen Requirement: Apps targeting both Under-13 and 13+ must ask age neutrally (without pre-filling birth years) and set `TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE` when needed.
  • Ads Policy Alignment: Interstitials must never appear immediately on app cold launch or upon exiting the application.

6. 6. Validating Ad-Supported Indie Apps Cleanly with GOOtester

Resolving `AD_ID`, Data Safety, AdMob test safeguards, and Target Audience declarations *before* submitting your Closed Testing release turns policy review from a multi-week guessing game into a predictable 24-hour approval.

With GOOtester, you connect our managed Google Group (`testers@gootester.com`) to your Closed Testing track without ever sharing Play Console credentials or AdMob publisher details. Our human testers ($6 Basic for 12 testers / 14 days, $12 Standard for 15 testers / 16 days, $20 Premium for 25 testers / 24 days) install your Play-signed binary across diverse global Android devices and maintain continuous opt-in status.

Once your 14-day closed testing requirement completes and Production Access is granted, you can flip your remote flag or promoted Production AAB from Demo Test Ad Units to live AdMob inventory with `app-ads.txt` already verified.

Eliminating Disruptive Interstitial Ad Violations

Never trigger full-screen interstitial ads asynchronously after a user has already moved onto a text-input screen; bind interstitials strictly to deterministic screen-transition breaks.

Verifying Store Settings Developer Website Domain

Double-check that your Store Settings website (`https://example.com`) uses the exact root domain hosting `/app-ads.txt` without cross-domain redirects to link-tree pages.

Actionable Pre-Submission Verification Checklist

  • Check Bundle Explorer > Permissions on your uploaded AAB to confirm whether transitive SDKs injected AD_ID.
  • Either declare Advertising ID usage accurately in App Content + Data Safety, or strip AD_ID with tools:node='remove'.
  • Configure AdMob Demo Test Ad Units or test device IDs during closed testing to avoid Invalid Traffic ad limits.
  • Host /app-ads.txt at the root HTTPS domain configured under Play Console > Store settings > Developer website.
  • Do NOT select Under-13 age brackets in Target Audience unless your binary fully complies with Families Policy.
  • Integrate Google UMP SDK with non-blocking offline fallbacks if serving AdMob ads across EEA/UK regions.

Frequently Asked Questions

Why does Play Console say my app uses Advertising ID when I have zero ads in my app?

Libraries like Firebase Analytics (`play-services-measurement-api`) declare `com.google.android.gms.permission.AD_ID` inside their own manifest, which Gradle merges into your release AAB. Either declare Analytics usage in App Content > Advertising ID or remove the permission using `tools:node="remove"`.

Should I show live AdMob ads to my 12 closed testers during the 14-day test?

We strongly recommend using Google's official AdMob Test Ad Unit IDs (or remote-config gating) during closed testing. Small tester pools generating repeated impressions can trigger automated AdMob Invalid Traffic serving limits before your public launch.

Can I change my Target Audience from 'All Ages (Under 13 included)' to '18+' if Google rejects my app?

Yes. Navigate to Policy > App content > Target audience and content, uncheck all Under-13 age brackets, ensure your store icons do not use child-targeted cartoon themes, save, and resubmit via Publishing Overview.

Does GOOtester require access to my AdMob or Play Console account to run closed testing?

Never. GOOtester operates on a strict zero-credential model: you only add `testers@gootester.com` to your Closed Testing Google Groups field and submit your public Web Opt-In URL.

Need 12 to 25 Real Consented Human Testers for 14 Consecutive Days?

One-time per-app pricing ($6 Basic · $12 Standard · $20 Premium). Service clock starts only after Play Console Google Group (testers@gootester.com) setup verification.

Related Google Play Engineering Guides