cmp added
This commit is contained in:
+32
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user