AdMob Android Integration — a Claude Code skill
A production-tested Claude Code skill for shipping, auditing and fixing Google AdMob on Android:
legacy play-services-ads and the GMA Next-Gen SDK, Meta Audience Network mediation,
UMP consent, and all five ad formats — banner, interstitial, rewarded, app open and native.
It is not a tutorial copied from the docs. Every rule in the Lifecycle rules and Red flags
sections exists because the bug it prevents shipped (or nearly shipped) in a real app with real
traffic, and was caught by code review, adversarial review, automated PR review or unit tests.
Once installed, Claude loads the skill automatically whenever you work on AdMob code in any
Android project — "add a rewarded ad", "why is my app-open show rate 20%?", "audit our ads",
"migrate from Appodeal to AdMob", "should we move to Next-Gen?".

Contents
What the skill covers
| Area | What you get |
|---|
| SDK choice | When to start on GMA Next-Gen vs stay on legacy; legacy deprecation (2027-06-30) and sunset (2028-06-30); Next-Gen + mediation dependency exclusions and background-thread callbacks |
| GMA Next-Gen | Init with InitializationConfig, preloaders (InterstitialAdPreloader, AppOpenAdPreloader, RewardedAdPreloader), banner/native APIs and deprecations, UMP rules — verified against Google's docs |
| Setup | Gradle, manifest (APPLICATION_ID, AD_ID, optimize-initialization flags), ProGuard/R8, test IDs |
| Consent | UMP flow order, cached-consent fast path, consent form blocking fullscreen ads safely |
| Mediation | Meta Audience Network bidding: console setup, partner lists, native MediaView requirement, app-ads.txt |
| Formats | Banner (anchored adaptive, Compose), interstitial, rewarded, app open (cold + warm), native (layouts, eCPM checklist) |
| Lifecycle rules | 14 production rules: one mediation-readiness barrier, one fullscreen owner, lost-callback recovery, cancellation-safe reservations, STARTED vs RESUMED, once-per-process cold start, late fills, Compose banner re-parent crash, native ownership, reward-exactly-once, premium tri-state |
| Show rate | Request discipline: why "preload everything + reload after every show + timer retries" kills show rate, and what to do instead |
| Policy | Interstitial placement rules (one per two user actions), no-ad zones, app-open on first launch, disruptive-ads risks |
| Release gates | Gradle validation of production ad IDs (configuration-cache safe), AAB test-ID scan, telemetry scope, no-ad-zone blocklists |
| Audit | 22-point checklist + a red-flags table for reviewing existing ad code |
| Migration | Mechanical steps from Appodeal / AppLovin MAX / ironSource to AdMob + Meta |
Install
The skill is a single folder: skills/admob-android-integration
(SKILL.md + snippets/). Pick one method.
Option A — Claude Code plugin (recommended)
Inside Claude Code:
/plugin marketplace add vmobifystudio/claude-admob-android-skill
/plugin install admob-android-integration@admob-android
Updates: /plugin marketplace update admob-android.
Option B — Personal skill, available in every project
git clone https://github.com/vmobifystudio/claude-admob-android-skill.git
mkdir -p ~/.claude/skills
cp -R claude-admob-android-skill/skills/admob-android-integration ~/.claude/skills/
Prefer a symlink if you want git pull to update it (and to edit/version it yourself):
ln -s "$(pwd)/claude-admob-android-skill/skills/admob-android-integration" ~/.claude/skills/admob-android-integration
Option C — One project only (shared with your team via git)
mkdir -p .claude/skills
cp -R /path/to/claude-admob-android-skill/skills/admob-android-integration .claude/skills/
Other agents
The skill follows the Agent Skills format (SKILL.md with
YAML frontmatter), so agents that read ~/.agents/skills/ (e.g. Codex, Gemini CLI, Copilot CLI)
can use the same folder:
mkdir -p ~/.agents/skills && cp -R skills/admob-android-integration ~/.agents/skills/
Verify