I just started to use ads with Unity, it happens to be with the 2017.1 version. Testing is working like a charm but as soon as I turn the “Enable test mode” check box off in services window, I have, at the best, a totally random result (ie ads can show or not), but in most cases, it does not work at all.
In fact, after checking, it is Advertisement.IsReady that is never true. I tried all solutions I found in Internet, even reusing the library from the asset store, nothing works! It is driving me totally crazy since few days now.
Is there any known issue ?
It takes some time after the initialisation for the ads to download - IsReady() returns true only after the ad has finished downloading. Can you paste the part of your code that does this check and runs Advertisement.Show()?
Note that you can show a single player max 25 ads per day - use test ads for testing.
In fact I wrote a very simple piece of code where I wait for IsReady in Update, then I set a boolean value to true to trigger other actions:
void Update () {
if (Advertisement.IsReady ())
adReady = true;
…}
As I said in my first post, it works very well with test ads. As soon as I disable test mode, it may work once (and indeed needs some 8 to 10 seconds to initialize) but it generally does not work at all.