ADMOB AD won't replay after time,AD wont replay
hi all this is the code im using,
// Update is called once per frame void Update() { timeLeft -= Time.deltaTime; if (timeLeft < 0) { AdManager.Instance.ShowVideo (); Debug.Log ("works");
timeLeft = 10.0f;
AdManager.Instance.ShowVideo ();
}
}
this is at the top
float timeLeft = 10.0f;
the ad will play the initial one after 10 seconds and will restart the counter and will show everything is fine in the unity console, but on mobile it will show the initial ad but nothing else after that
Thank you in advance.,Hi all, So this is the code
// Update is called once per frame void Update() { timeLeft -= Time.deltaTime; if (timeLeft < 0) { AdManager.Instance.ShowVideo (); Debug.Log ("works");
timeLeft = 10.0f;
}
}
im trying to restart it (the 10 seconds for a ad is for testing), on the unity console it works fine but on a mobile device it does the initial ad pop up and nothing else after 10 seconds.
Thank you in advance.
Your answer
![](https://koobas.hobune.stream/wayback/20220612152957im_/https://answers.unity.com/themes/thub/images/avi.jpg)