Skip to content
Skillpedia
Mobile apps22k · #10189

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.md

Copy 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

Use this skill to help me: https://github.com/google/skills/blob/main/skills/ads/google-mobile-ads-banner/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

  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.

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills