seorilabs/foam-party/godot-admob-troubleshoot
Claude Code and agent skill by seorilabs/foam-party
- community
Checking that the SKILL.md file is still in the repository.
Provides instructions to diagnose ad loading errors, handle error codes, open the Ad Inspector, and resolve integration issues in GDScript and C#. Use when debugging ad loading issues.
Install
npx vskill@latest install seorilabs/foam-party/godot-admob-troubleshootSKILL.md
The same SKILL.md was published earlier as poingstudios/godot-admob-plugin/godot-admob-troubleshoot.
Godot AdMob - Troubleshooting Guide
Assists with diagnosing and resolving integration issues, interpreting ad load errors, and debugging your Godot AdMob implementation.
Common Error Codes
When an ad fails to load, LoadAdError returns one of the following error codes:
| Error Code | Constant Name | Description | |
|---|---|---|---|
| 0 | ERROR_CODE_INTERNAL_ERROR | Something happened internally; for instance, an invalid response was received from the ad server. | |
| 1 | ERROR_CODE_INVALID_REQUEST | The ad request was invalid; for instance, the ad unit ID was incorrect or not configured. | |
| 2 | ERROR_CODE_NETWORK_ERROR | The ad request was unsuccessful due to network connectivity issues. | |
| 3 | ERROR_CODE_NO_FILL | The ad request was successful, but no ad was returned due to lack of ad inventory. |
Debugging Workflows
- Check Ad Inspector: Launch the Ad Inspector to check SDK status, adapter configurations, and test ad delivery.
- Verify Test Unit IDs: Verify that you are using Google's official test ad unit IDs during development.
- Check logs: Inspect your console logs or device logcat (
adb logcat) to find detailed logs from the Google Mobile Ads SDK.
Code Examples
=== "GDScript"
```gdscript # Handle load ad error callbacks listener.on_ad_failed_to_load = func(error: LoadAdError) -> void: print("Ad load failed. Code: ", error.code, " Message: ", error.message)
# Launch inspector func open_diagnostics() -> void: MobileAds.open_ad_inspector() ```
=== "C#"
```csharp using Godot; using PoingStudios.AdMob.Api.Listeners; using PoingStudios.AdMob.Api;
// Handle load ad error callbacks var listener = new AdListener(); listener.OnAdFailedToLoad = (error) => { GD.Print($"Ad load failed. Code: {error.Code} Message: {error.Message}"); };
public void OpenDiagnostics() { MobileAds.OpenAdInspector(); } ```
Google Play Console Obfuscation Threshold Warning (< 25%)
If Google Play Console displays:
App optimization is below our threshold: Obfuscation (10%)
This occurs because the Google Mobile Ads Next-Gen SDK moves runtime execution logic into your app's DEX bytecode while Godot defaults to minifyEnabled false.
Resolution Workflow
- In Godot Editor, navigate to Project > Project Settings > Admob > General > Android.
- Enable Enable R8 Optimization (
admob/general/android/enable_r8_optimization = true). - Export your Release build using an Android build template (
android/build/). The export plugin automatically setsminifyEnabled true,shrinkResources false, and ensures required Godot Engine ProGuard rules are inproguard-rules.pro. - The plugin's Android
.aarlibraries automatically supply embeddedconsumer-rules.proto protect all AdMob plugin classes, GodotPlugin subclasses, and native JNI methods.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggodot/addons/admob/skills/godot-admob-troubleshoot/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/seorilabs/foam-party/godot-admob-troubleshoot)