Standard Integration

1. Configure MAS

You need to add your Appkey manually in your project if you haven’t added your game’s store link in MAS dashboard yet. You can find your Appkey in MAS dashboard.

Go to Yodo1 -> MAS Settings.

You will need to copy the AppKey from the dashboard and add it into the configuration fields. The Admob ID should be fetched automatically, but if it’s not the case you can add it manually.

1.1 For Android

1.2 For iOS

2. Add the privacy dialog

Custom privacy dialog

When you use your own privacy dialog :

  • If the user’s age >= 13, then set COPPA to false, otherwise set it to true.
  • If the user’s age >= 16 and consents to having his data collected, then set GDPR to true, otherwise set it to false.
  • If the user consents to having his data collected, then set CCPA to false, otherwise set it to true.

You’ll find the details about how to set the legal frameworks through these links:

MAS privacy dialog

You can enable the built-in privacy compliance dialog to collect the users’ age and consent. Here is a picture of the pop up:

You can add this to your game with the code below. Make sure to add this code before SDK initialization.

					Yodo1AdBuildConfig config =
new Yodo1AdBuildConfig().enableUserPrivacyDialog(true);  

Visit the Privacy Dialog Customizations page if you want to customize the privacy dialog. 


3. Initialize the SDK

1. Include the following line at the top of the file where you initialize the MAS SDK:

					using Yodo1.MAS;


2. Initialize the SDK in the Start() method.



3. You can check the initialization status.

					Yodo1U3dMasCallback.OnSdkInitializedEvent += (success, error) =>
            Debug.Log("[Yodo1 Mas] OnSdkInitializedEvent, success:" + success + ", error: " + error.ToString());
            if (success)
                Debug.Log("[Yodo1 Mas] The initialization has succeeded");
                Debug.Log("[Yodo1 Mas] The initialization has failed");


4. Video tutorial


5. Implement the ad formats

Banners are rectangular images or text ads that occupy a spot within an app’s layout. They stay on screen while users are interacting with the app.


Interstitials are full-screen ads that cover the interface of an app until closed by the user. They’re best used at natural pauses in the flow of an app’s execution, such as in between levels of a game or after completing a task.

Rewarded Video

Rewarded video ads are full-screen video ads that users have the option of watching in full in exchange for in-app rewards.

Native ads are ad formats that are presented to users via UI components that are native to the platform. Native ads match both the form and function of the user experience in which they’re placed. They also match the visual design of the app they live within.

6. Set up the app-ads.txt

Click here for details!