Vungle SDK : Vungle.isAdvertAvailable() only has a response once?

In my Windows Store build, I’m testing with the Vungle SDK, and for some reason, Vungle.isAdvertAvailable() only gets a response back the first time in a game session.

When my prefab containing my rewarded video screen instantiates, I call Vungle.Init on Start, and then setup the events etc, all works perfectly fine, I can watch the video etc.

void Start()
{
  Vungle.init("", "", InitManager.Instance.VungleWindowsStoreKey);

  Vungle.adPlayableEvent += (isAdAvailable) =>
        {
            Debug.Log(isAdAvailable);
        };

  Vungle.isAdvertAvailable()
}

But if I go a second time into the screen in the same session, Start gets called again as usual, but there is never a response from Vungle.isAdvertAvailable() ???

Any ideas what I could be doing wrong here?

Hi, Meltdown

My name is David and I am an Integration Engineer at Vungle.

I have reviewed your code, but I would need more context to understand your logic. isAdvertAvailable() would return true or false depending on whether an ad is available or not at the time of call. It would not perform anything when you call this method. Would it possible for you to share more integration code?

Also, I have checked our server record and believe there is integration issue as well. You are using Unity, but our server is showing native SDK. It looks like our server is returning error code when you make a request. I believe there is an ad cached already and it is playing that cached ad when you attempt to play an ad. Any new request is not getting a new ad delivered. Are you trying to integrate our SDK using Vungle Unity Plugin or making a custom plugin to integrate native Vungle Windows SDK?