From c634a247a351c0b3de6132f249c815e9f5b21491 Mon Sep 17 00:00:00 2001 From: Hadrian Burkhardt Date: Mon, 9 Nov 2026 00:27:19 +0100 Subject: [PATCH] cmp added --- docs/MONETIZATION.md | 33 ++++++++++++++++++++++++++++++++- keystore.properties.example | 3 ++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/docs/MONETIZATION.md b/docs/MONETIZATION.md index 1372eaf..7253133 100644 --- a/docs/MONETIZATION.md +++ b/docs/MONETIZATION.md @@ -49,7 +49,38 @@ and ad-request APIs differ. `requestConsentInfoUpdate()` → `loadAndShowConsentFormIfRequired()` before `MobileAds.initialize()`. 5. Optional but recommended: publish an `app-ads.txt` on the developer website that - Play points to. It is a website file, not an app asset. + Play points to. It is a website file, not an app asset. The copy in the repo root + lists `pub-…`, so the file must be served from the root of that domain, not from + this repository. +6. **App verification and the ad-serving review are two different gates.** Once the + AdMob app is verified, AdMob still reviews it before full ad serving, which + typically takes 2–3 days and can take longer. Ad serving is **limited** in that + window, so a missing or low-fill banner right after verification is expected and + is not evidence of a bug. Do not react by adding ad units, disabling the banner + gate or hammering requests; check the AdMob inbox for the review result and only + judge fill rate after it clears. + +### 2.1 CMP and consent messages + +The app already ships the UMP SDK, which is one of Google's certified CMPs. It +displays whatever *Privacy & messaging* serves, including the Google CMP messages +that **Maximize message coverage** auto-creates for a new app — no app change is +needed when a message is added, edited or re-published. `AdsController` requests the +consent update, shows `loadAndShowConsentFormIfRequired()` and only then initialises +the ad SDK. + +Messages to have before the banner is expected to work in every region: + +| Message | Region | Notes | +|---|---|---| +| European regulations (GDPR) | EEA, UK, Switzerland | Personalised ads + the privacy-options form. Must be **published**; a draft is invisible to the SDK | +| US states (IAB US Privacy / GPP) | US state privacy laws | Only relevant if the app is distributed there | +| Privacy options | wherever UMP reports `privacyOptionsRequirementStatus == REQUIRED` | Already wired: *Options > Privacy options* → `showPrivacyOptionsForm()` | + +An unpublished message means no form is shown; whether the app may then request an +ad is decided by `canRequestAds()`, and Google may fall back to a generic consent +message in the EEA/UK/CH. Do not rely on that fallback: publish the message and +verify the flow with a debug device set to the EEA (see §9). ## 3. Play Console setup diff --git a/keystore.properties.example b/keystore.properties.example index 623c674..3c9bd60 100644 --- a/keystore.properties.example +++ b/keystore.properties.example @@ -13,7 +13,8 @@ # Then enable Play App Signing in the Play Console and register this key as the # *upload* key (Google keeps the app signing key). -# Path to your keystore (absolute is safest). +# Path to your keystore (absolute is safest). On the dev machine the upload +# keystore (shared with the paid listing) lives in /home/ubuntu/keystore/. storeFile=/absolute/path/to/fotodup-upload.jks storePassword=change-me keyAlias=upload