google-mobile-ads-banner — Claude Code skill
This skill guides banner ad setup with Google Mobile Ads in Android, iOS, and Unity apps. Use it when the task is limited to banner advertising.
npx skills add google/skills --skill google-mobile-ads-banner -a claude-codeWhat google-mobile-ads-banner does
The skill guides an agent through adding and configuring Google Mobile Ads banners. A banner takes a place in the app layout, stays visible during interaction, and can refresh automatically.
The agent first identifies whether the project uses Android, iOS, or Unity. It then reads references/android-banner.md, references/ios-banner.md, or references/unity-banner.md, defines the ad view, sets its size, registers load events, loads the ad, and verifies the result.
When no banner type is named, the skill selects Large Anchored Adaptive Banner. Inline Adaptive works on Android and iOS only. Install it for GMA banner work; use another skill for interstitial or rewarded ads.
What it helps with
- add a Google Mobile Ads banner to a mobile app
- choose a banner size and type for the screen
- register banner ad load events
- place an adaptive banner at the top or bottom of a screen
- replace a test ad unit ID after verification
Example prompts for the agent
- Add a Google Mobile Ads banner to my Android app.
- Set up a Large Anchored Adaptive Banner in Unity.
- Verify the GMA banner integration in my iOS app.
How to install google-mobile-ads-banner
1Skills CLI (Vercel)
npx skills add google/skills --skill google-mobile-ads-banner -a claude-code2Manually: put the files in place
~/.claude/skills/google-mobile-ads-banner/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/google-mobile-ads-banner/
1Skills CLI (Vercel)
npx skills add google/skills --skill google-mobile-ads-banner -a codex2Manually: put the files in place
.agents/skills/google-mobile-ads-banner/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/google-mobile-ads-banner/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install google/skills google-mobile-ads-banner2Manually: put the files in place
.github/skills/google-mobile-ads-banner/SKILL.md1Skills CLI (Vercel)
npx skills add google/skills --skill google-mobile-ads-banner -a gemini-cli2Platform CLI
gemini skills install https://github.com/google/skills --path skills/ads/google-mobile-ads-bannerManually: put the files in place
.devin/skills/google-mobile-ads-banner/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Similar
Questions about google-mobile-ads-banner
How do I install google-mobile-ads-banner in Claude Code?
Run npx skills add google/skills --skill google-mobile-ads-banner -a claude-code. The skill is then available at ~/.claude/skills/google-mobile-ads-banner/SKILL.md.
What does google-mobile-ads-banner do?
It gives an agent an ordered process for implementing, configuring, and verifying Google Mobile Ads banners in Android, iOS, and Unity apps. After implementation, it prompts you to replace the test ad unit ID with your own.
Can I use Inline Adaptive Banner in Unity?
No. Inline Adaptive is available for Android and iOS. For Unity, the skill recommends Large Anchored Adaptive Banner.
Source text
SKILL.md · Apache-2.0
---
name: google-mobile-ads-banner
description: >-
Provides instructions to implement, integrate, or configure Google Mobile
Ads (GMA) banner ads in Android, iOS, or Unity mobile applications. Use
when the task involves setting up banner ads in a mobile application. Don't
use for other ad formats like interstitial or rewarded ads.
metadata:
version: "1.1.0"
category: GoogleAds
---
# Google Mobile Ads SDK - Banner Ads
Banner ads are rectangular image or text ads that occupy a spot within an app's
layout. They remain on screen during user interaction and can refresh
automatically.
### Banner Ad Types
Default to **Large Anchored Adaptive Banner** if the user says "banner" without
defining a type. If the user suggests or asks about other banner ad types,
recommend large anchored adaptive banners.
| Banner Type | Description |
| :--- | :--- |
| **Large Anchored Adaptive** | **Default**. Can be anchored to the top or bottom of the screen. |
| **Anchored Adaptive** | Can be anchored to the top or bottom of the screen. |
| **Inline Adaptive** | **ONLY** available to use for **Android and iOS**. Placed within content. |
## Workflow
1. **Determine the user's platform**: Identify if the project is Android, iOS,
or Unity. If unclear, ask before proceeding.
2. **Read the platform guide** for implementation details:
- Android: `references/android-banner.md`
- iOS: `references/ios-banner.md`
- Unity: `references/unity-banner.md`
3. **Follow these steps in order**:
- [ ] Define the ad view
- [ ] Set the ad size
- [ ] Register for ad load events
- [ ] Load the banner ad
- [ ] Verify the implementation
4. After the banner ad is successfully implemented, remind the user to replace
the test ad unit ID with their own.
© google · Apache-2.0 · google/skills