Skip to content

marcojak/XamarinMTAdmobSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xamarin MTAdmob sample project

Package name: MarcTron.Admob

Latest version: 2.2.3

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

Android iOS Windows Mac
Banner ✔️ ✔️
Interstitial ✔️ ✔️
Rewarded ✔️ ✔️
Rewarded Interstitial ✔️ ❌*
App Open Ads ✔️ ✔️

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

Methods

Banner Interstitial Rewarded Rewarded Interstitial App Open Ads
LoadAd LoadInterstitial LoadRewarded LoadRewardedInterstitial -
ShowInterstitial ShowRewarded ShowRewardedInterstitial
IsInterstitialLoaded IsRewardedLoaded IsRewardedInterstitialLoaded

Events

Banner Interstitial Rewarded Rewarded Interstitial App Open Ads
AdsLoaded OnInterstitialLoaded OnRewardedLoaded OnRewardedLoaded OnAppOpenAdLoaded
AdsFailedToLoad OnInterstitialFailedToLoad OnRewardedFailedToLoad OnRewardedFailedToLoad OnAppOpenFailedToLoad
AdsImpression OnInterstitialImpression OnRewardedImpression OnRewardedImpression OnAppOpenImpression**
AdsClicked OnInterstitialOpened OnRewardedOpened OnRewardedOpened OnAppOpenOpened**
AdsOpened OnInterstitialFailedToShow OnRewardedFailedToShow OnRewardedFailedToShow OnAppOpenFailedToShow**
AdsClosed OnInterstitialClosed OnRewardedClosed OnRewardedClosed OnAppOpenClosed**
AdsSwiped OnInterstitialClicked* OnRewardedClicked* OnRewardedClicked* OnAppOpenClicked**
OnUserEarnedReward OnUserEarnedReward

*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: xamarin/GoogleApisForiOSComponents#555 (comment)

About

To test all the functionalities of the MTAdmob plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages