seorilabs/match-picture-app/godot-admob-banner

Claude Code and agent skill by seorilabs/match-picture-app

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Provides instructions to implement, load, and destroy banner ads (AdView) using custom or adaptive sizes in GDScript and C#. Use when integrating banner ads.

Install

npx vskill@latest install seorilabs/match-picture-app/godot-admob-banner

SKILL.md

The same SKILL.md was published earlier as poingstudios/godot-admob-plugin/godot-admob-banner.

Godot AdMob - Banner Ads

Assists with implementing, displaying, and destroying banner ads using the AdView and AdSize classes in Godot 4.x.

Banner Ads Workflow

  1. Define and Instantiate AdView: Create an AdView with your Ad Unit ID, selected AdSize, and screen AdPosition.
  2. Configure AdListener: Set up an AdListener to respond to events such as on_ad_loaded, on_ad_failed_to_load, etc.
  3. Load the Ad: Call ad_view.load_ad(AdRequest.new()).
  4. Crucial: Destroy the Ad: Call ad_view.destroy() inside _exit_tree() or when changing scenes to free memory.
Code Examples

=== "GDScript"

```gdscript var ad_view: AdView

func load_banner_ad() -> void: var ad_unit_id := "ca-app-pub-3940256099942544/6300978111" # Test ID var ad_size := AdSize.get_current_orientation_anchored_adaptive_banner_ad_size(AdSize.FULL_WIDTH) var ad_position := AdPosition.BOTTOM

ad_view = AdView.new(ad_unit_id, ad_size, ad_position)

var listener := AdListener.new() listener.on_ad_loaded = func() -> void: print("Banner loaded successfully.") listener.on_ad_failed_to_load = func(error: LoadAdError) -> void: print("Banner failed to load: ", error.message)

ad_view.ad_listener = listener

# To request a collapsible banner: # var request := AdRequest.new() # request.extras = {"collapsible": "bottom"} # ad_view.load_ad(request)

ad_view.load_ad(AdRequest.new())

func _exit_tree() -> void: if ad_view: ad_view.destroy() ad_view = null ```

=== "C#"

```csharp using Godot; using PoingStudios.AdMob.Api; using PoingStudios.AdMob.Api.Listeners; using PoingStudios.AdMob.Api.Core;

private AdView _adView;

public void LoadBannerAd() { string adUnitId = "ca-app-pub-3940256099942544/6300978111"; // Test ID var adSize = AdSize.GetCurrentOrientationAnchoredAdaptiveBannerAdSize(AdSize.FullWidth); var adPosition = AdPosition.Bottom;

_adView = new AdView(adUnitId, adSize, adPosition);

var listener = new AdListener(); listener.OnAdLoaded = () => GD.Print("Banner loaded successfully."); listener.OnAdFailedToLoad = (error) => GD.Print($"Banner failed to load: {error.Message}");

_adView.AdListener = listener; _adView.LoadAd(new AdRequest()); }

public override void _ExitTree() { if (_adView != null) { _adView.Destroy(); _adView = null; } } ```

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

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/seorilabs/match-picture-app/godot-admob-banner/badge)](https://verified-skill.com/skills/seorilabs/match-picture-app/godot-admob-banner)

Something wrong with this skill or its page? Tell us.