Troubleshoot SDK show errors
Solve common issues that might occur while displaying an ad during an ad request.
Read time 1 minuteLast updated a day ago
These errors occur when the Unity Ads SDK can't fetch ad content to display. If ads can't be successfully displayed, the ad request can't be completed. Use this guide to quickly identify and fix issues that might occur when showing an ad.
Symptoms
When you try to show an ad using the Unity Ads SDK, the following error message is returned:This error message indicates that the ad expired before a show request was made.[52200] Unity Ads SDK ad show failed : The ad has expired. Load a new ad.
Causes
The common reason for this error is that too much time passed between loading and showing an ad.Resolution
To resolve this issue, load a new ad after theonAdExpiredSymptoms
When you try to show an ad using the Unity Ads SDK, the following error message is returned:This error message indicates that another interstitial or rewarded ad is already being displayed.[52201] Unity Ads SDK ad show failed : An ad is already being shown. Wait until the current ad finishes before showing a new one.
Causes
Common reasons for this error include:- The app calls the show method twice in rapid succession (for example, a double tap on the "Watch ad" button triggers two show requests)
- The app triggers another ad show before the previous one's completion callback fires
- You try to show two different ads in parallel (for example, trying to show a rewarded ad while an interstitial ad is still visible)
Resolution
To resolve this issue, ensure only one ad is shown at a time for interstitial and rewarded ads.Symptoms
When you try to show an ad using the Unity Ads SDK, the following error message is returned:This error message indicates that the Unity Ads SDK encountered an unexpected internal failure while attempting to display an ad.[52202] Unity Ads SDK ad show failed : Internal error occurred.
Causes
Common reasons for this error include:- Rendering failure
- Missing creative assets
- Corrupted ad data