- Home /
Unity Ads: Advertisement.IsReady() NEVER True
Hi, I followed all the instruction to set up Ads (v5.3.1p1) and still I cannot get an Ad to open in my editor. I am in test mode, My build is in test mode. I created a new scene and added the following code. The Ad never opens but i get no errors:
using UnityEngine;
using System.Collections;
using UnityEngine.Advertisements;
public class NewBehaviourScript : MonoBehaviour {
void Update()
{
Debug.Log("not ready");
if (Advertisement.IsReady())
{
Debug.Log("add ready");
Advertisement.Show();
}
}
}
Comment
Answer by Aily · Nov 14, 2016 at 10:48 AM
Video working good, but need about minute for ADS system self initialization on Android, so in my case on shop button "reward video" just apearing text "video loading..." till system init. No need any extra calls, just run your app and wait about minute.