I have checked, rechecked, and have searched endlessly on trying to figure out why Unity Ads will show in the editor and not on a Android device (Currently the HTC M8).
What is most frustrating is that originally did have Ads working but has recently stopped working on Android devices.
void Awake ()
{
Advertisement.Initialize ("55409",true);
}
IEnumerator ShowAdWhenReady()
{
while (!Advertisement.IsReady())
yield return null;
Advertisement.Show ();
}
void Update(){
if (counterForAds < 1)
{
StartCoroutine(ShowAdWhenReady());
ResetCounter();
}
}
public const int counterReset = 3;
public static int counterForAds = counterReset;
void ResetCounter()
{
counterForAds = counterReset;
}