To buy the license visit https://hightouchinnovation.com/MMTAdmob
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 Xamarin version of this plugin, you can visit: MTAdmob
Android | iOS | Windows | Mac | |
---|---|---|---|---|
Banner | ✔️ | ✔️ | ❌ | ❌ |
Interstitial | ✔️ | ✔️ | ❌ | ❌ |
Rewarded | ✔️ | ✔️ | ❌ | ❌ |
Rewarded Interstitial | ✔️ | ❌* | ❌ | ❌ |
*They are implemented but currently, they are not working. Probably something in the Admob SDK. I'm investigating it.
Banner | Interstitial | Rewarded | Rewarded Interstitial |
---|---|---|---|
LoadAd | LoadInterstitial | LoadRewarded | LoadRewardedInterstitial |
ShowInterstitial | ShowRewarded | ShowRewardedInterstitial | |
IsInterstitialLoaded | IsRewardedLoaded | IsRewardedInterstitialLoaded |
Banner | Interstitial | Rewarded | Rewarded Interstitial |
---|---|---|---|
AdsLoaded | OnInterstitialLoaded | OnRewardedLoaded | OnRewardedLoaded |
AdsFailedToLoad | OnInterstitialFailedToLoad | OnRewardedFailedToLoad | OnRewardedFailedToLoad |
AdsImpression | OnInterstitialImpression | OnRewardedImpression | OnRewardedImpression |
AdsClicked | OnInterstitialOpened | OnRewardedOpened | OnRewardedOpened |
AdsOpened | OnInterstitialFailedToShow | OnRewardedFailedToShow | OnRewardedFailedToShow |
AdsClosed | OnInterstitialClosed | OnRewardedClosed | OnRewardedClosed |
AdsSwiped | OnInterstitialClicked* | OnRewardedClicked* | OnRewardedClicked* |
OnUserEarnedReward | OnUserEarnedReward |
*Only supported on iOS
if you are receiving some errors about UMP while compiling your projects, add the following code to your csproj file:
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">
<AndroidLibrary Include="Dependencies\user-messaging-platform-2.0.0.aar" Bind="false" />
</ItemGroup>
Now, follow these steps:
- Create a folder "Dependencies" in your project
- download the file user-messaging-platform-2.0.0.aar from internet or from this repository.
- Copy the file in this folder
- Build your project and everything will compile correctly
This might not be required anymore since version 1.0.1
If you encounter this error while using this plugin, you can solve it following this comment: xamarin/GoogleApisForiOSComponents#555 (comment)