Rewarded Ads

Rewarding players for watching ads increases user engagement, resulting in higher revenue. For example, games may reward players with in-game currency, consumables, additional lives, or experience-multipliers.

First of all the ads has to be loaded before you can display it. See the code snippet below:

using SA.CrossPlatform.Advertisement;

//You can use any configured UM_AdPlatform here
//This example will use Unity ads, that's why we get client with UM_AdPlatform.Unity
UM_iAdsClient client = UM_AdvertisementService.GetClient(UM_AdPlatform.Unity);
client.RewardedAds.Load((result) => {
    if (result.IsSucceeded) {
        Debug.Log("RewardedAds loaded");
    } else {
        Debug.Log("Failed to load RewardedAds: " + result.Error.Message);

The load status can always be accessed via IsReady property.

bool ready = client.RewardedAds.IsReady;

Once an ad is loaded, you are ready to show it. You also need to analyze Show callback in order to understand if you need to reward a user for watching full ad.

client.RewardedAds.Show((adsResult) => {
    if(adsResult == UM_RewardedAdsResult.Finished) {
        //reward a player
    Debug.Log("Ads finished with result: " + adsResult);