Skip to content

Rewarded videos

Marco edited this page Aug 17, 2021 · 2 revisions

You can show a rewarded video with a single line of code:

CrossMTAdmob.Current.ShowRewardedVideo();

Before showing an interstitial you should load it using:

CrossMTAdmob.Current.LoadRewardedVideo("xx-xxx-xxx-xxxxxxxxxxxxxxxxx/xxxxxxxxxx");

Events for Rewarded Videos

The Rewarded Videos offer 7 events:

* OnRewarded When the user gets a reward

* OnRewardedVideoAdClosed When the ads is closed

* OnRewardedVideoAdFailedToLoad When the ads fails to load

* OnRewardedVideoAdLeftApplication When the users leaves the application

* OnRewardedVideoAdLoaded When the ads is loaded

* OnRewardedVideoAdOpened When the ads is opened

* OnRewardedVideoStarted When the ads starts

* OnRewardedVideoAdCompleted When the ads is completed

Clone this wiki locally