Agent skills for GMA Next-Gen SDK are
portable, self-contained modules of GMA Next-Gen SDK knowledge, instructions, and
workflows. These skills are designed to help AI assistants understand
GMA Next-Gen SDK and run complex tasks with higher accuracy. For all available
agent skills, see the ads
folder in the GitHub repository.
This page covers installing and updating agent skills.
Install the agent skills
Agent skills for GMA Next-Gen SDK work with AI assistants that support skills, including Antigravity, Claude Code, Codex, and Cursor.
To install agent skills for GMA Next-Gen SDK, run the following command:
npx skills add google/skills/skills/ads
Agent skills for GMA Next-Gen SDK begin with google-mobile-ads.
Update the agent skills
To make sure AI assistant has the latest GMA Next-Gen SDK features and recommendations, update your agent skills. The following example updates all agent skills for GMA Next-Gen SDK:
npx skills update --all
View available skills
The following table describes all available skills for GMA Next-Gen SDK features:
| Skill | Description |
|---|---|
google-mobile-ads-get-started |
Assists with adding the GMA Next-Gen SDK to your app for the first time, setting the application ID, and initializing GMA Next-Gen SDK. |
google-mobile-ads-banner |
Assists with implementing banner ads, such as large anchored adaptive banners and inline adaptive banners. |
google-mobile-ads-interstitial |
Assists with implementing full-screen interstitial ads and showing the ads at natural transition points in your app. |
google-mobile-ads-rewarded |
Assists with implementing rewarded ads, showing the ads, and handling user reward callbacks. |
google-mobile-ads-android-migrate-to-next-gen |
Assists with migrating an existing Android app from Google Mobile Ads SDK (Legacy) to GMA Next-Gen SDK. |
You can implement agent skills for GMA Next-Gen SDK by prompting your preferred AI assistant. The agent skills can guide your AI assistant to perform the following example tasks:
- Help me initialize the GMA Next-Gen SDK.
- Add a banner ad to my app.
- Implement a rewarded ad.