Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

why admob not showing ads on my app

$
0
0
I am not getting an error I run ads with the given sample test id, but it doesn't work with my admob id I use genymotion emulator for testing I uploaded in the google play market ten days ago private InterstitialAd interstitial; private void Awake() { RequestInterstitial(); StartCoroutine(Show()); } IEnumerator Show() { while (true) { yield return new WaitForSeconds(5f); ShowInterstitial(); } } void ShowInterstitial() { if (interstitial.IsLoaded()) { interstitial.Show(); Invoke("RequestInterstitial", 3f); } } private void RequestInterstitial() { //test id ca-app-pub-3940256099942544/1033173712 interstitial = new InterstitialAd("*****************************************"); AdRequest request = new AdRequest.Builder().Build(); interstitial.LoadAd(request); }

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>