Home

Awesome

Xamarin MTAdmob sample project

Package name: MarcTron.Admob

Latest version: 2.2.3

Nuget link: https://www.nuget.org/packages/MarcTron.Admob

Guide: https://hightouchinnovation.com/XMTAdmobGuide

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

The licensed version unlocks the mandatory Consent required by Google since the 16th of January. If you like, you can use the unlicensed version of the plugin and implement your choice of Certified CMP. The license will help me to continue updating and supporting this plugin adding all the newer features that Google implements.

If you are looking for the MAUI version of this plugin, you can visit: MauiMTAdmob

Current Status

AndroidiOSWindowsMac
Banner:heavy_check_mark::heavy_check_mark::x::x:
Interstitial:heavy_check_mark::heavy_check_mark::x::x:
Rewarded:heavy_check_mark::heavy_check_mark::x::x:
Rewarded Interstitial:heavy_check_mark::x:*:x::x:
App Open Ads:heavy_check_mark::heavy_check_mark::x::x:

*They are implemented but currently, they are not working. Probably something in the Admob SDK. I'm investigating it.

Methods

BannerInterstitialRewardedRewarded InterstitialApp Open Ads
LoadAdLoadInterstitialLoadRewardedLoadRewardedInterstitial-
ShowInterstitialShowRewardedShowRewardedInterstitial
IsInterstitialLoadedIsRewardedLoadedIsRewardedInterstitialLoaded

Events

BannerInterstitialRewardedRewarded InterstitialApp Open Ads
AdsLoadedOnInterstitialLoadedOnRewardedLoadedOnRewardedLoadedOnAppOpenAdLoaded
AdsFailedToLoadOnInterstitialFailedToLoadOnRewardedFailedToLoadOnRewardedFailedToLoadOnAppOpenFailedToLoad
AdsImpressionOnInterstitialImpressionOnRewardedImpressionOnRewardedImpressionOnAppOpenImpression**
AdsClickedOnInterstitialOpenedOnRewardedOpenedOnRewardedOpenedOnAppOpenOpened**
AdsOpenedOnInterstitialFailedToShowOnRewardedFailedToShowOnRewardedFailedToShowOnAppOpenFailedToShow**
AdsClosedOnInterstitialClosedOnRewardedClosedOnRewardedClosedOnAppOpenClosed**
AdsSwipedOnInterstitialClicked*OnRewardedClicked*OnRewardedClicked*OnAppOpenClicked**
OnUserEarnedRewardOnUserEarnedReward

*Only supported on iOS

**Currently only working on Android. I plan to add them on iOS in the next version

Important for iOS

Xamarin.Firebase.iOS.Core 8.10.0.1

If you encounter this error while using this plugin, you can solve it following this comment: https://github.com/xamarin/GoogleApisForiOSComponents/issues/555#issuecomment-1145943195