Search Unity

No connection on App start + Regain connection during App play = Advertisement.IsReady() = false

Discussion in 'Unity Ads & User Acquisition' started by _watcher_, Jun 15, 2016.

  1. _watcher_

    _watcher_

    Joined:
    Nov 7, 2014
    Posts:
    261
    Hi Unity!

    I'm doing simple tests of your "Unity Ads" system on Android device.

    Im starting my Test App without internet connection.
    During play, I try to show Advertisement. Advertisement.IsReady() traces False.

    So far so good.

    While app is running, i enable internet connection.

    I wait 5 minutes.

    Advertisement.IsReady() still traces False.

    Question
    Is there a way to "manually refresh" ads if we regain connection during gameplay?
    Its unclear to me how "often" or how exactly Unity Ads checks if internet connection is available and starts downloading / refreshes ads. Can we get some clarity on this from the devs?

    Thank You.
     
    Last edited: Jun 15, 2016
  2. jayanthg

    jayanthg

    Joined:
    May 26, 2013
    Posts:
    48
    _watcher_ likes this.
  3. jayanthg

    jayanthg

    Joined:
    May 26, 2013
    Posts:
    48
    I just integrated this into my game, it works but couple of things to note -

    1) Disabling auto initialisation of Unity Ads using the editor script does not work in Editor. Need to test it on the real device (BUG?)

    2) Be careful with the gameIDs.
     
    _watcher_ likes this.
  4. _watcher_

    _watcher_

    Joined:
    Nov 7, 2014
    Posts:
    261