Plugin.MauiMTAdmob 2.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Plugin.MauiMTAdmob --version 2.5.1
                    
NuGet\Install-Package Plugin.MauiMTAdmob -Version 2.5.1
                    
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.MauiMTAdmob" Version="2.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.MauiMTAdmob" Version="2.5.1" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.MauiMTAdmob" />
                    
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.MauiMTAdmob --version 2.5.1
                    
#r "nuget: Plugin.MauiMTAdmob, 2.5.1"
                    
#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.MauiMTAdmob@2.5.1
                    
#: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.MauiMTAdmob&version=2.5.1
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.MauiMTAdmob&version=2.5.1
                    
Install as a Cake Tool

MAUIMtAdmob plugin for MAUI (Android & iOS)

With this Plugin you can add a Google Admob Ads inside your MAUI Projects with a single line of code!!! This plugin supports: Banners, Interstitial, Rewarded, Rewarded Interstitials and now even: Open Ads, Native Ads and Consent (only in the licensed version)

PLEASE READ

From version 1.1.0, I've added support for the consent required by Google for all the final users living in Europe. This support for UMP is only available in the licensed version of the plugin. Without the license, the plugin will continue to work as usual with all the other features normally available. This will allow me to continue supporting the development of the plugin. You can buy the license at https://hightouchinnovation.com/MMTAdmob If you are a charity or your app is used to support a good cause, contact me and I'll evaluate it to send you a free license.

Setup

This plugin supports:
  • Maui (Android and iOS)
  • .NET 10 (from version 2.5.0; use 2.4.0 if you are still on .NET 9)

VERY IMPORTANT

If you encounter an error on this plugin check the guide at https://hightouchinnovation.com/MMTAdmobGuide where you can find also common issues and how to solve them.

You can also report any issue at https://github.com/marcojak/MauiMTAdmob/issues

The Consent might not work on the iOS simulator (it usually depends on the xCode version you have installed on your Mac). If it doesn't work, you can change your XCode version or test it on a real device.

To test the plugin on iOS you need to use a Mac as the device directly connected to Windows is not supported.

FOR MAC USERS WITH Mx PROCESSORS

If you compile the app on a Mac with Mx processors, you could get an error about architecture, to fix it, add to your csproj file these lines:

<PropertyGroup Condition="$(TargetFramework.Contains('-ios'))">
    <RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier>
</PropertyGroup>

<PropertyGroup>
    <ForceSimulatorX64ArchitectureInIDE>true</ForceSimulatorX64ArchitectureInIDE>
</PropertyGroup>

How to use MauiMTAdmob

In your MauiProgramm class, add

builder.UseMauiMTAdmob();

Android

You need to add your Admob APPLICATION_ID to your AndroidManifest.xml:

<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="YOUR APPLICATION ID" />

iOS

You need to add GADApplicationIdentifier to your Info.plist. Edit your info.plist adding these Keys:

<key>GADApplicationIdentifier</key>
<string>YOUR APPLICATION ID</string>
<key>GADIsAdManagerApp</key>
<true/>

To show the App Tracking Transparency dialog (the plugin asks for it after the consent form), also add:

<key>NSUserTrackingUsageDescription</key>
<string>This identifier will be used to deliver personalized ads to you.</string>

Without this key iOS never shows the dialog and tracking is always denied.

Turn on debug mode (CrossMauiMTAdmob.Current.DebugMode = true, or debugMode: true in Init): the plugin then logs each step of the consent flow, prefixed with [MauiMTAdmob], so you can tell a form that was not required from one that failed.

You can find the full guide here: https://hightouchinnovation.com/MMTAdmobGuide

To buy the license visit https://hightouchinnovation.com/MMTAdmob Available on Nuget: https://www.nuget.org/packages/Plugin.MauiMTAdmob/ Guide: https://hightouchinnovation.com/MMTAdmobGuide (you'll find here also the common issues and how to solve them) Tutorial: https://www.xamarinexpert.it/admob-made-easy/ (Version for Xamarin. I'll update it with the new version for MAUI) To report any issue: https://github.com/marcojak/MauiMTAdmob/issues### MAUIMtAdmob plugin for MAUI (Android & iOS)

With this Plugin you can add a Google Admob Ads inside your MAUI Projects with a single line of code!!! This plugin supports: Banners, Interstitial, Rewarded, Rewarded Interstitials and now even: Open Ads, Native Ads and Consent (only in the licensed version)

CRYPTOGRAPHY

This plugin uses an cryptographic algorithm to handle the license.

DISCLAIMER OF LIABILITY

By using MAUIMtAdmob (the "Plugin"), you agree that:

  1. The Plugin is provided "as is" without any warranties or guarantees of any kind, either expressed or implied.
  2. I shall not be responsible or liable for any direct, indirect, incidental, special, or consequential damages arising out of the use or inability to use the Plugin.
  3. I do not warrant that the Plugin will meet your specific requirements or operate without interruption.

You acknowledge that the use of the Plugin is at your own risk. The author of the plugin disclaims all liability for any damage to your computer system or loss of data that results from the use of the Plugin.

This disclaimer of liability is a fundamental part of the agreement between you and the author of the plugin. You agree that the limitations and exclusions of liability set forth in this disclaimer are reasonable and fair.

If you do not agree to these terms, do not use the Plugin.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst was computed.  net10.0-maccatalyst26.0 is compatible.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  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 (5)

Showing the top 5 NuGet packages that depend on Plugin.MauiMTAdmob:

Package Downloads
MetaFrm.Maui.Essentials.net8.0

Meta Framework (Multi platform & Meta management)

MetaFrm.Maui.Essentials.net9.0

Meta Framework (Multi platform & Meta management)

MetaFrm.Maui.Essentials.net7.0

Meta Framework (Multi platform & Meta management)

MetaFrm.Maui.Essentials.net10.0

Meta Framework (Multi platform & Meta management)

AnchorAppsIT.MAUI.Controls

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 1,636 10/16/2026
2.6.0 211 10/16/2026
2.5.1 184 10/13/2026
2.5.0 540 10/5/2026
2.4.0 8,998 3/18/2026
2.3.1 1,695 2/1/2026
2.3.0 320 1/30/2026
2.2.0 4,234 11/5/2025
2.1.0 1,248 10/8/2025
2.0.2 16,147 5/21/2025
2.0.1.1 842 5/2/2025
2.0.1 618 5/1/2025
2.0.0.5 3,225 2/14/2025
1.7.1 3,227 11/27/2024
1.7.0 1,101 11/2/2024
1.6.4 3,980 9/17/2024
1.6.3 2,573 9/3/2024
1.6.2 532 9/1/2024
1.6.1 633 8/30/2024
1.6.0 839 8/23/2024
Loading failed

iOS consent and App Tracking Transparency fixes (licensed version):
- Fixed the consent form never appearing, and ads never starting, when consent was requested at launch before the app window existed. The plugin now waits up to 5 seconds for the window; if there is still none, ads start anyway when consent allows it.
- The App Tracking Transparency dialog is now requested only once the app is active, because iOS silently ignores earlier requests. If iOS still skips it, it is asked again the next time the app becomes active; ads do not wait for it.
- If NSUserTrackingUsageDescription is missing from Info.plist, the plugin now logs it instead of failing silently (without it iOS never shows the tracking dialog).
- With DebugMode enabled, each step of the consent flow is logged (consent status, form status, whether ads can be requested).