aidentity / index

google/skills · Apache-2.0

google-mobile-ads-banner

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.

ads cloud stable

Contents

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.

  1. Read the platform guide for implementation details:
  • Android: references/android-banner.md
  • iOS: references/ios-banner.md
  • Unity: references/unity-banner.md
  1. 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
  1. After the banner ad is successfully implemented, remind the user to replace

the test ad unit ID with their own.

Provenance

Authored by Google LLC in google/skills. The content is mirrored here under its upstream license.

Related

data-manager-api-audience-ingestion Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager API and its associated client libraries. Use this skill when the user wants to upload audience members, remove specific users, or clear/replace an entire audience for Customer Match, mobile device ID audiences, or any other audience use case supported by the Data Manager API. Don't use for uploading events or conversions (use the data-manager-api-event-ingestion skill). google/skills Apache-2.0 data-manager-api-event-ingestion Guides developers through implementing event and conversion ingestion to Google products using the Data Manager API /v1/events/ingest endpoint and its associated client libraries. Use this skill when the user wants to upload offline conversions, enhanced conversions for leads, click conversions, Google Analytics web or app events, or any other event ingestion use case supported by the Data Manager API. Don't use for uploading audience members (use the data-manager-api-audience-ingestion skill). google/skills Apache-2.0 data-manager-api-setup Guides developers through client library installation and authentication setup steps for the Data Manager API. Use this skill when a user is getting started with the Data Manager API and needs to setup their local environment, install the client library, or setup access to the API. Don't use for implementing audience or event ingestion logic (use the data-manager-api-audience-ingestion or data-manager-api-event-ingestion skills instead). google/skills Apache-2.0 google-ads-api-account-diagnostics Diagnoses Google Ads account performance issues such as conversion loss (value or volume), low lead flow/volume, and lost impression share (opportunities) due to ad rank, bids, or budgets. Use when troubleshooting sudden performance drops, analyzing campaign impression share metrics, investigating low lead flow, or searching for bidding and budget constraints. Don't use for setting up new campaigns, uploading conversion events directly, or general Google Mobile Ads SDK integration issues (use gma-android-integrate instead). google/skills Apache-2.0 google-ads-api-mcp-setup Guides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server. Use this skill when a user wants to connect their AI assistant (such as Gemini, Claude Code, or Cursor) to their Google Ads account to query campaigns or retrieve reporting metrics using natural language. google/skills Apache-2.0