Out of ads and triggering other error messages.

I was looking around, but couldn’t find these details and was hoping someone here could clarify. I have two somewhat related questions:

  • What happens when there are no ads available? Does the listener go to a regular error state (
    UnityAds.FinishState.ERROR)?
  • Is there a way to trigger an error state during testing? I tried turning off internet connectivity, but still wasn’t able to trigger the onUnityAdsErrormessage, or reach the UnityAds.FinishState.ERROR state.

Thanks in advance for all the help!

Hi,

Not sure which integration you are using, referring to Unity here (similar logic applies to native Android and iOS SDK)

Advertisement.IsReady() will return false in this case, and nothing will happen if you call Advertisement.Show()

If Ads SDK was able to download and cache the video while you had internet, you should be able to see the ad. If not, Advertisement.Show() again should just do nothing.

If you experience different behaviour, please share.

Thanks,
Rasmus

1 Like