Generated banner for Google Mobile Ads Banner
Generated logo for Google Mobile Ads Banner

Google Mobile Ads Banner

GoogleOfficialPublished by Google

  • Skill
  • Tool integration
  • Software development
  • Apache-2.0
  • No issues found

From 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.
— the description by Google

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a structured workflow for integrating Google Mobile Ads (GMA) banner ads into mobile applications. It covers the setup process for Android, iOS, and Unity platforms, focusing on defining ad views, configuring adaptive ad sizes, and managing ad load events. The skill emphasizes the use of Large Anchored Adaptive Banners as the default standard and provides platform-specific guidance for handling ad requests and verifying implementation builds.

What it does

  • Identifies the target mobile platform (Android, iOS, or Unity).
  • Provides specific implementation steps for banner ad views and sizes.
  • Recommends Large Anchored Adaptive Banners as the default ad format.
  • Guides the registration of ad load event callbacks.
  • Includes platform-specific verification steps to ensure successful builds.
  • Reminds users to swap test ad unit IDs for production IDs.

When to use it

  • When you need to integrate banner ads into an Android, iOS, or Unity app.
  • When you are setting up adaptive banner layouts for mobile screens.
  • When you need to troubleshoot the initial configuration of a banner ad view.
  • When you require specific guidance on using the Google Mobile Ads SDK for banner formats.

Advantages

  • Standardizes the integration process across different mobile platforms.
  • Ensures best practices for adaptive banner sizing are followed.
  • Provides clear, step-by-step procedures to avoid common implementation errors.
  • Includes platform-specific verification methods to confirm successful integration.

Usage examples

“How do I add a banner ad to my Android app?”
The agent will identify the platform as Android, provide the necessary imports, guide you through defining the AdView, setting the adaptive AdSize, and implementing the loadAd callback while reminding you to handle UI threading correctly.
“I need to set up a banner in my iOS project.”
The agent will provide the steps to configure the BannerView, set the ad size using the appropriate global functions, and verify the build using xcodebuild or manual Xcode verification.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/google/google-mobile-ads-banner/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip google-mobile-ads-banner.zip -d .agents/skills

Documentation by Google

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 TypeDescription
Large Anchored AdaptiveDefault. Can be anchored to the top or bottom of the screen.
Anchored AdaptiveCan be anchored to the top or bottom of the screen.
Inline AdaptiveONLY 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.

Files

ATTRIBUTION.md

Attribution

This folder is an unmodified copy of the Agent Skill "google-mobile-ads-banner", distributed by AutoGineer (https://autogineer.com/agent-skills).

The skill's own files are unmodified copies. AutoGineer is not affiliated with or endorsed by the author or the publisher.

Files added by AutoGineer

  • ATTRIBUTION.md: this file, written by AutoGineer

  • LICENSE: copied from LICENSE

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Google
Publisher
Google (Official)
Source
google/skills · skills/ads/google-mobile-ads-banner · commit 2194d3b
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Google or Google.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download google-mobile-ads-banner.zip