MarcTron.Admob 2.3.0

dotnet add package MarcTron.Admob --version 2.3.0
NuGet\Install-Package MarcTron.Admob -Version 2.3.0
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="MarcTron.Admob" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MarcTron.Admob --version 2.3.0
#r "nuget: MarcTron.Admob, 2.3.0"
#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.
// Install MarcTron.Admob as a Cake Addin
#addin nuget:?package=MarcTron.Admob&version=2.3.0

// Install MarcTron.Admob as a Cake Tool
#tool nuget:?package=MarcTron.Admob&version=2.3.0

MtAdmob plugin for Xamarin

With this Plugin you can add a Google Admob Ads inside your Xamarin Android and iOS Projects with a single line!!! This plugin supports: Banners, Interstitial, Rewarded Videos and Rewearded Interstitials (from version 1.9)

PLEASE READ

From version 2.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/XMTAdmob 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.

CRYPTOGRAPHY

This plugin uses an cryptographic algorithm to handle the license.

Please, support my work

If you prefer to not buy a license, if possible, please, support my work with few coffees or even better with a Membership! You can do it here: Buy Me A Coffee Your help allows me to continue to spend time on this project and continue to maintain and update it with new features and to be ready for the new Google SDK : Google SDK Migration.

DISCLAIMER OF LIABILITY

By using MtAdmob (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.

Commercial support

If you need faster support with this plugin, custom changes or in general with your Xamarin or MAUI project, contact me at hightouchinnovation@gmail.com to discuss it further.

INITIALIZATION

From your platform code, from version 2.1.0, you need to call: CrossMTAdmob.Current.Init(this,...);

If you don't you'll get an error!

Android

You need to add your Admob APPLICATION_ID to your AppManifest:

<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/>
  • If you don't do this, your iOS app will crash

HOW TO USE MTADMOB

The guide is available on: https://hightouchinnovation.com/XMTAdmobGuide

VIDEO

Get Filthy Rich by Monetizing Your Xamarin.Forms App with AdMob - Gerald Versluis (Youtube)

To buy the license visit https://hightouchinnovation.com/XMTAdmob

Available on Nuget: https://www.nuget.org/packages/MarcTron.Admob

Guide: https://hightouchinnovation.com/XMTAdmobGuide

Tutorial: https://www.xamarinexpert.it/admob-made-easy/

To report any issue: https://github.com/marcojak/MTAdmob/issues

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid13.0 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
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 MarcTron.Admob:

Package Downloads
ContactManager.Xamarin

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.3.0 91 3/21/2024
2.2.3 152 3/8/2024
2.2.2 80 3/8/2024
2.2.1 210 2/24/2024
2.2.0 296 2/9/2024
2.1.0 295 1/25/2024
1.9.0.6 3,530 5/21/2023
1.9.0.3 5,326 12/3/2022
1.9.0.2 1,034 11/19/2022
1.8.0 3,643 7/3/2022
1.6.9 10,630 12/23/2021
1.6.8 7,360 11/23/2021
1.6.7 1,627 10/16/2021
1.6.6 856 10/12/2021
1.6.5 1,967 8/24/2021
1.6.4 969 8/22/2021
1.6.3 1,041 8/16/2021
1.6.2 866 8/14/2021
1.6.1 6,314 1/23/2021
1.6.0 5,381 11/7/2020
1.5.8 3,329 9/27/2020
1.5.7 2,932 8/1/2020
1.5.6 2,826 6/7/2020
1.5.5 2,203 5/10/2020
1.5.0 1,549 4/11/2020
1.4.5 2,922 11/19/2019
1.4.4 1,583 10/11/2019
1.4.3 1,047 10/7/2019
1.4.2 1,126 9/7/2019
1.4.1 1,433 8/12/2019
1.4.0 1,163 8/2/2019
1.3.0 1,325 6/1/2019
1.2.0 1,175 4/8/2019
1.1.0 1,146 3/22/2019
1.0.0 1,170 3/5/2019

Version 2.3.0
Added support to load and cache multiple ads at a time
Version 2.2.3
Fixed problematic package