google-mobile-ads-banner
What it does
It shows how to place a banner ad in a mobile app, choose its size, and load it, with adaptive banners as the default. It is for mobile developers adding ads to their apps.
When to use it
- ✓When you want a banner ad at the top or bottom of an Android, iOS, or Unity app.
- ✓When you need an inline banner placed inside your app content.
- ✓When the setup is done and you need to swap the test ad unit ID for your real one.
Skill link
https://github.com/google/skills/blob/main/skills/ads/google-mobile-ads-banner/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Add an adaptive banner ad at the bottom of my Android app screen.”
5 new skills a week. 1 minute to read.
How it works
It finds your platform, reads the matching guide, then defines the ad view, sets its size, registers for load events, loads the ad, and checks the result.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
Determine the user's platform: Identify if the project is Android, iOS, or Unity. If unclear, ask before proceeding.
Read the platform guide for implementation details:
- Android:
references/android-banner.md - iOS:
references/ios-banner.md - Unity:
references/unity-banner.md
- Android:
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
After the banner ad is successfully implemented, remind the user to replace the test ad unit ID with their own.
FAQ
Which banner type is the default?
A large anchored adaptive banner, unless you ask for another type.
Does it handle other ad formats?
No. Interstitial and rewarded ads are covered by other skills.
Do I need to change the test ad unit?
Yes. The skill reminds you to replace the test ad unit ID before release.
Details
Original description by the author
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.
repo: google/skills
Popularity
- GitHub stars
- 22k
- Ranking position
- #10189
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
finding-google-skills
22kHelps your agent find the right Google guides for a setup task, such as hosting, databases, storage, sign-in or AI model serving.
gcloud
22kHelps your agent write and check Google Cloud gcloud commands, looking up exact syntax before it runs anything so it does not guess flags.
google-cloud-recipe-auth
22kGuides your agent through Google Cloud identity and access, including how people and services sign in and which permissions they get.
google-cloud-recipe-onboarding
22kWalks a new developer through first steps on Google Cloud, including choosing a project, linking billing, and deploying a first resource.
Similar skills
android-clean-architecture
280kMakes your agent organize Android projects efficiently. It structures the code to make maintenance and new feature development easier.
compose-multiplatform-patterns
280kHelps your agent use Compose Multiplatform and Jetpack Compose patterns in KMP projects, covering state, navigation, theming, and performance.
dart-flutter-patterns
280kMakes your agent write code for Dart and Flutter apps. It uses modern patterns to create robust and manageable apps.