Plugin.AdMob 10.0.90

dotnet add package Plugin.AdMob --version 10.0.90
                    
NuGet\Install-Package Plugin.AdMob -Version 10.0.90
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Plugin.AdMob" Version="10.0.90" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.AdMob" Version="10.0.90" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.AdMob" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Plugin.AdMob --version 10.0.90
                    
#r "nuget: Plugin.AdMob, 10.0.90"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Plugin.AdMob@10.0.90
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Plugin.AdMob&version=10.0.90
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.AdMob&version=10.0.90
                    
Install as a Cake Tool

Google AdMob plugin for .NET MAUI

NuGet version (Plugin.AdMob) NuGet pre-release (Plugin.AdMob) NuGet downloads (Plugin.AdMob) MIT license

Monetize your .NET MAUI app with Google AdMob ads on Android and iOS — banner, interstitial, rewarded, rewarded interstitial, app open, and native ads (including native video) — with GDPR consent handled for you via Google's User Messaging Platform (UMP). Free and open source, with every feature included.

dotnet add package Plugin.AdMob

Features

Banner Interstitial Rewarded Rewarded interstitial App open Native Native video Consent (UMP)
Android ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
iOS ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅

Why Plugin.AdMob?

  • Every AdMob ad format — banners in all sizes (including custom), full-screen interstitial, rewarded, and rewarded interstitial ads, app open ads, and fully customizable native ads with video playback.
  • Free and open source — MIT-licensed, no paid tiers, no locked features.
  • Consent built in — the Google UMP consent form (GDPR) is shown automatically on startup when required, or take full control yourself via IAdConsentService.
  • MAUI-first API — drop a BannerAd or NativeAdView into your XAML, and use dependency-injected services (IInterstitialAdService, IRewardedAdService, IAppOpenAdService, ...) for full-screen ads.
  • Test ads out of the box — set AdConfig.UseTestAdUnitIds = true and develop safely against Google's test ad units.
  • Cross-platform friendly — your app still compiles and runs on Windows and Mac Catalyst; ads are simply not shown there.
  • Actively maintained — built for .NET 10 and the latest .NET MAUI, on top of up-to-date Google Mobile Ads SDK bindings.

Quick start

1. Install the package:

dotnet add package Plugin.AdMob

2. Initialize the plugin in your MauiProgram.cs:

builder
    .UseMauiApp<App>()
    .UseAdMob();

Then complete the one-time platform configuration (Android manifest, iOS Info.plist) described in the Setup guide.

3. Show a banner ad by dropping the control into any page:

<ContentPage xmlns:admob="clr-namespace:Plugin.AdMob;assembly=Plugin.AdMob"
             ...>

    <admob:BannerAd AdUnitId="ca-app-pub-xxxxxxxxxxxxxxxx/xxxxxxxxxx" />

</ContentPage>

4. Show an interstitial ad:

var interstitialAdService = IPlatformApplication.Current.Services.GetRequiredService<IInterstitialAdService>();
interstitialAdService.PrepareAd();
// Once loaded (OnAdLoaded), e.g. between levels:
interstitialAdService.ShowAd();

Tip: no ad unit IDs yet? Set AdConfig.UseTestAdUnitIds = true to use Google's test ads while developing.

📽️ Video tutorial

How to display an AdMob banner ad in your .NET MAUI app in under 5 minutes

Documentation

  1. Setup — initialization, Android manifest and iOS Info.plist configuration
  2. Configuration — default ad unit IDs, test ads, test devices
  3. Consent — GDPR consent with Google UMP, debug geographies
  4. Banner ads — all banner sizes, custom sizes, events
  5. Interstitial ads — preload and show full-screen ads
  6. Rewarded ads — reward users for watching ads
  7. Rewarded interstitial ads
  8. Native ads — design your own ad layout, including video
  9. App open ads — ads on app launch and foregrounding
  10. Troubleshooting
  11. Samples

Contributing & support

Found a bug or missing a feature? Open an issue — pull requests are welcome.

If Plugin.AdMob helps your app earn money, consider giving the repo a ⭐ — it helps other .NET MAUI developers discover it.


This project has no affiliation with Google, Microsoft, or the MAUI/Xamarin teams. AdMob is a trademark of Google LLC.

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Plugin.AdMob:

Package Downloads
benxu.AppPlatform.Ads.AdMob

AdMob implementation for ad services in .NET MAUI Blazor applications. Supports Banner, Interstitial and Rewarded ads with Mock mode for testing.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Plugin.AdMob:

Repository Stars
lswiderski/mi-scale-exporter
Mobile App to export data from Mi Body Composition Scale and upload it to Garmin Connect Cloud
Version Downloads Last Updated
10.0.90 19,026 7/23/2026
10.0.80.1 137 7/23/2026
10.0.80 707 7/4/2026
3.0.3 36,040 5/17/2026
3.0.2 1,876 2/1/2026
3.0.0 517 1/31/2026
2.3.1 41,654 3/23/2025
2.2.0 3,409 3/22/2025
2.1.0 3,567 3/14/2025
2.0.0 3,677 2/22/2025
Loading failed