I run ads with the given sample ad unit ID, but it doesn't work with the my ID The application was not added to Google Play what can I do for the solution I'm sorry for my bad english
Please define "doesn't work", are you receiving a NoFill response? Please show your code and the device logs.
I am not getting an error I use this way <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.unity.ads" android:versionName="1.0" android:versionCode="1"> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19" /> <application> <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="*******" /> </application> </manifest> using UnityEngine; using System.Collections; using GoogleMobileAds.Api; public class AddInst : MonoBehaviour { private InterstitialAd interstitial; private void Start() { string appId = "*******"; MobileAds.Initialize(appId); interstitial = new InterstitialAd("*******"); AdRequest request = new AdRequest.Builder().Build(); interstitial.LoadAd(request); if (interstitial.IsLoaded()) { interstitial.Show(); } } }
I am not getting an error I run ads with the given sample addUnitID, but it doesn't work with the my ID I use genymotion emulator for testing
Again, what is the return code for IsLoaded? How are you debugging? You can debug live in Visual Studio, or simply place Debug.Log statements in your code which will also show in the logs.