Latest upstream author date included at this registry's pinned revision.

google-mobile-ads-banner

Synced v1.0.0 License: Apache-2.0 Source: google/skills/skills/ads/google-mobile-ads-banner Commit: 99c871e Latest included change:

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.

Summary

Purpose
Explains how to place persistent, automatically refreshing rectangular ads in an app layout with the Google Mobile Ads SDK.
When to use
Use when choosing or implementing a banner format for an Android, iOS, or Unity project; determine the platform first and default to a large anchored adaptive banner when no format is specified.
Outputs
Platform-specific implementation guidance for defining and sizing the ad view, registering load events, loading and verifying the banner, and reminding the user to replace the test ad unit ID.
Upstream changes (5, latest included 2026-09-22)
329fa26 Standardize version formatting in Ads skills metadata Quoted the version value in the skill's YAML metadata.
92aa428 No public description Expanded the skill to cover Unity and replaced placement rules with banner-type guidance that defaults to large anchored adaptive, adding a Unity guide to the workflow.
703f8d2 Move ads skills from per-product subdirectories to top-level skills/ads/ directory. Moved the unchanged skill file from `skills/ads/google-mobile-ads/google-mobile-ads-banner/SKILL.md` to `skills/ads/google-mobile-ads-banner/SKILL.md`.
c75b500 Restructure the YAML frontmatter in all SKILL.md files to nest the 'category' field under the 'metadata:' block. The 'category' field is used to organize the skills in the README.md Added `category: GoogleAds` under the skill's YAML `metadata` block.
b13a5a1 Add new skills for Google Advertising and Measurement. Added a banner ads skill with placement guidelines, an Android/iOS implementation workflow, and a reminder to replace the test ad unit ID.
npx skills add "lettucebo/Skills#v2.2.0@google-mobile-ads-banner" --full-depth

⚠ Available after v2.2.0 is published

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.

History

v1.0.0 mapping-added 99c871e