poingstudios/godot-admob-plugin/godot-admob-migrate
Claude Code and agent skill by poingstudios/godot-admob-plugin
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Provides instructions to migrate your Godot AdMob project between different plugin versions (e.g. from version 4.x to version 5.x) in GDScript and C#. Use when upgrading plugin versions.
Install
npx vskill@latest install poingstudios/godot-admob-plugin/godot-admob-migrateSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as poingstudios/godot-admob-plugin/godot-admob-migrate.
Godot AdMob - Migration Guide
Assists with migrating your Godot AdMob integration between different plugin versions in GDScript and C#.
Migrate from v4.x to v5.x
Steps
- Remove SMART_BANNER Constants: Replace any references to
AdSize.SMART_BANNERorSmartBannerwith Anchored Adaptive Banner sizes. - Update Fallbacks: Ensure that any legacy layouts using
-1, -1size fallback values are replaced with the recommended Anchored Adaptive Banner sizes. - Android App ID Migration & config.gd Removal:
- Extract Android App ID: Read the
APPLICATION_IDconstant fromres://addons/admob/android/config.gd(if upgrading an existing project). - Save to Project Settings: Transfer the Android App ID into
project.godotunder[admob]section asgeneral/android/app_id="your-app-id"(or via Project Settings > General > Admob). - Remove config.gd:
config.gdis deprecated and removed in v5; all settings are now managed via Project Settings.
- AdPosition Class Migration:
AdPosition.Valuesenum is replaced byAdPositionstatic instances (e.g.AdPosition.TOPorAdPosition.custom(x, y)). Update your code references. - iOS Export Cleanup & App ID Migration:
- Delete AdMob `.gdip` files & binaries: Delete all legacy
poing-godot-admob*.gdipfiles and theres://ios/plugins/poing-godot-admob/directory insideres://ios/plugins/(do not delete the outerplugins/folder if other non-AdMob plugins exist). Version 5 injects frameworks dynamically during export, so leaving old.gdipfiles and binaries will causeMultiple commands produce ...build errors in Xcode. - Transfer iOS App ID: Move the iOS App ID (formerly set in
Gad Application Identifierin Export Presets or.gdip) intoproject.godotunder[admob]section asgeneral/ios/app_id="your-app-id"(or via Project Settings > General > Admob). - Clear Export Presets: Clear the
Gad Application Identifierfield and uncheck legacy AdMob plugin checkboxes in your iOS Export Preset settings to avoid duplicate injection.
- Update Gradle Dependencies: Clean and rebuild your Android plugin template if necessary to fetch the GMA Next-Gen SDK dependencies.
- Review Initialization Defaults: By default, initialization and ad loading optimizations are enabled. If you run into threading issues, toggle Disable Initialization Optimization and Disable Ad Loading Optimization in the Godot project settings under Admob > General > Android.
- Download v5 Platform Binaries: In the Godot Editor, open AdMob Manager and click Download & Install for both Android and iOS to download the new v5.0.0 native libraries. The export plugin will block project export if the installed native binaries are missing or legacy/v4 due to version mismatch protection.
- Asynchronous SDK Initialization: On Android (GMA Next-Gen SDK), initialization via
MobileAds.initialize()is strictly asynchronous. You must wait for the callback (usingOnInitializationCompleteListener) to fire before loading any ads. Attempting to load ads prior to initialization completion will throw an exception.
Migration References
Size Migration
| Removed Constant (v4.x) | Recommended Alternative (v5.x) | |
|---|---|---|
AdSize.SMART_BANNER (GDScript) | AdSize.get_current_orientation_anchored_adaptive_banner_ad_size(AdSize.FULL_WIDTH) | |
AdSize.SmartBanner (C#) | AdSize.GetCurrentOrientationAnchoredAdaptiveBannerAdSize(AdSize.FullWidth) |
AdPosition Migration
| Removed Enum (v4.x) | Recommended Class Instance (v5.x) | |
|---|---|---|
AdPosition.Values.TOP (GDScript) | AdPosition.TOP | |
AdPosition.Values.Top (C#) | AdPosition.Top | |
| Custom positions unsupported | AdPosition.custom(x, y) (GDScript) / AdPosition.Custom(x, y) (C#) |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplatforms/godot_editor/addons/admob/skills/godot-admob-migrate/SKILL.md
Popularity
- Repository stars
- 622
- Repository forks
- 51
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Sep 2026, 2 months ago.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/poingstudios/godot-admob-plugin/godot-admob-migrate)