public void ShowMediationTestSuite()
 {
     MediationTestSuite.AdRequest = new AdRequest.Builder()
                                    .AddTestDevice("2E29D88642047EBDE0F7B03181D284C0").Build();
     //addTestDevice("2E29D88642047EBDE0F7B03181D284C0"
     MediationTestSuite.Show();
 }
Exemple #2
0
        public static void ShowTestSuite()
        {
            string id;

            #if UNITY_IOS
            id = AdSettings.Instance.AppId.Ios;
            #else
            id = AdSettings.Instance.AppId.Android;
            #endif
            MediationTestSuite.Show(id);
        }
        private void DrawAds()
        {
            GUI.color = Color.black;
            GUILayout.Label("ADMOB Ad Console");
            if (GUILayout.Button("Show Console"))
            {
                Debug.Log("Show ADMOB Console!");
#if UNITY_ANDROID
                string appId = "ca-app-pub-1582776119070207~5242745012";
#elif UNITY_IPHONE
                string appId = "ca-app-pub-1582776119070207~9838890482";
#else
                string appId = "unexpected_platform";
#endif

                MediationTestSuite.Show(appId);
            }
        }
 public void ShowMediationTestSuite()
 {
     MediationTestSuite.Show();
 }