Advertisement.IsReady() always false

Tried “rewardedVideo”, or the default setting. Code is dead simple. using latest Unity 5.3. No Activation needed, Services are Ok.

2746719--198022--upload_2016-8-9_20-45-0.png

The only thing I could think of I did is to install the old SDK (<5.2) until I realized that was not needed anymore.


Code extract:

#if UNITY_ADS
using UnityEngine.Advertisements; // only compile Ads code on supported platforms
#endif

protected override void OnStart()
{
#if UNITY_ADS
Advertisement.debugLevel = Advertisement.DebugLevel.Debug;

if (!Advertisement.IsReady(“rewardedVideo”) && !Advertisement.IsReady())
{
Debug.Log("rewardedVideo is not ready " + Advertisement.isInitialized + " " + Advertisement.testMode + " " + Advertisement.isSupported + " ");

}

Android Log :

08-09 23:28:05.040 32672 32694 I Unity : rewardedVideo is not ready True False True

Which mean that TestMode is likely to be FALSE.

However I have set this :

I have the same setting on iOS, and it does not work as well.
I am speechless.
Any help appreciated.

Running in the Editor with iOS or Android configuration, I got : “UnityAdsEditor: Server returned error message: No numeric game id set, cannot send response”.

2746895--198038--upload_2016-8-9_23-28-56.png

Not sure if that’s expected or not, as we are running from the editor, and not the target platform.

2749643--198305--upload_2016-8-11_21-52-53.png
Upgrading to 5.3 gave me this, and it is now fixed.

2 Likes