Skip to main content
skill Claude Code Gemini CLI CX Codex official · Google

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add google/skills --skill google-mobile-ads-banner -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/google-mobile-ads-banner/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/google-mobile-ads-banner/

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

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor