mcpbeat

Google Mobile Ads Banner

google/google-mobile-ads-banner

Provides instructions to implement, integrate, or configure Google Mobile Ads (GMA) banner ads in Android and iOS mobile applications. Use when the task involves setting up banner ads in a mobile application.

2k tokens
context cost
the whole folder, loaded on every use
3
files
instructions only
0
copies elsewhere
how many repositories repackaged it
15506
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/google/skills --skill google-mobile-ads-banner

What comes with it

5 017 bytes besides the instruction
references/android-banner.md
references/ios-banner.md

The instruction itself

3 sections, as written by the author

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.

Ad Placement Guidelines

CRITICAL: You MUST evaluate and apply the following guidelines before

proceeding with any banner ad implementation.

  • Determine Ad Placement:
  • [ ] Identify the target file where the ad should be placed. Ask if

unsure.

  • [ ] Inspect view hierarchy when the target file is identified.

Examine the file and determine whether the parent container of the ad is

a scrollable view (such as a list, scroll view, grid) or a static,

non-scrollable view.

  • Scrollable Content: Use Inline Adaptive Banner.
  • Non-Scrollable Content: Use Large Anchored Adaptive.
  • Positioning: If not specified, ask if the ad should be

anchored to either the top or bottom of the screen.

Workflow

  • Determine the user's platform: Identify if the project is Android or

iOS. If unclear, ask before proceeding.

  • Read the platform guide for implementation details:
  • Android: references/android-banner.md
  • iOS: references/ios-banner.md
  • 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.

How to use it

Copy the folder

Take google/google-mobile-ads-banner from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.