Ad Design Placements

If you are reading this, you have already received your personalized Ad Design Report! Below, we walk you through how to implement and tag the Ad Design Recommendations.
We based our recommendations on data from we’ve collected from thousands of mobile games! Implementing these recommendations will guarantee uplift, and following this guide will help you make more money with MAS.

Step 1: Implementation

Recommendations come in two varieties: interstitials and rewarded videos. Below you’ll find a refresher on the code needed to implement these ad types in MAS.

Rewarded Videos

1. Set the Rewarded Video Ad Delegate Method

Yodo1U3dMas.SetRewardedAdDelegate((Yodo1U3dAdEvent adEvent, Yodo1U3dAdError error) => {
    Debug.Log("[Yodo1 Mas] RewardVideoDelegate:" + adEvent.ToString() + "\n" + error.ToString());
    switch (adEvent)
    {
        case Yodo1U3dAdEvent.AdClosed:
            Debug.Log("[Yodo1 Mas] Reward video ad has been closed.");
            break;
        case Yodo1U3dAdEvent.AdOpened:
            Debug.Log("[Yodo1 Mas] Reward video ad has shown successful.");
            break;
        case Yodo1U3dAdEvent.AdError:
            Debug.Log("[Yodo1 Mas] Reward video ad error, " + error);
            break;
        case Yodo1U3dAdEvent.AdReward:
            Debug.Log("[Yodo1 Mas] Reward video ad reward, give rewards to the player.");
            break;
    }

});


2. Check Rewarded Video Ad Loading Status

bool isLoaded = Yodo1U3dMas.IsRewardedAdLoaded();


3. Show Rewarded Video Ad

Yodo1U3dMas.ShowRewardedAd();

Interstitials

1. Set the Interstitial Ad Delegate Method

Yodo1U3dMas.SetInterstitialAdDelegate((Yodo1U3dAdEvent adEvent, Yodo1U3dAdError error) => {
    Debug.Log("[Yodo1 Mas] InterstitialAdDelegate:" + adEvent.ToString() + "\n" + error.ToString());
    switch (adEvent)
    {
        case Yodo1U3dAdEvent.AdClosed:
            Debug.Log("[Yodo1 Mas] Interstital ad has been closed.");
            break;
        case Yodo1U3dAdEvent.AdOpened:
            Debug.Log("[Yodo1 Mas] Interstital ad has been shown.");
            break;
        case Yodo1U3dAdEvent.AdError:
            Debug.Log("[Yodo1 Mas] Interstital ad error, " + error.ToString());
            break;
    }
});


2. Check Interstitial Ad Loading Status

bool isLoaded = Yodo1U3dMas.IsInterstitialAdLoaded();


3. Show Interstitial Ads

Yodo1U3dMas.ShowInterstitialAd();

Step 2. Tag the Ad Placements

In order for us to accurately track the ad placements to further improve your personalized recommendations, we need you to ad d the provided unique Tag ID within the “Show Ad” section.

Below, you can see an example of a recommendation along with its unique Tag ID.

Rewarded Video Ads

Yodo1U3dMas.ShowInterstitialAd("Unique_Tag_ID");

Interstitial Ads

Yodo1U3dMas.ShowRewardedAd("Unique_Tag_ID");

Step 3. Release the Update

You have successfully optimized your Ad Design! We will continuously track, measure, and compare our recommendations to further increase your revenue.

Updated on August 5, 2021

Was this article helpful?

Related Articles