Your ad display delegate or callback interface will receive a call if an ad failed to load or failed to display. This call will be accompanied by an error code. This page describes the error codes you may see.
Error Object and MAX Error Codes
Error Object
The error that you receive in your callback is a first-class error object. This object has three properties:
error["code"]
- the error code, which you can find in the table below.
error["message"]
- a human-readable message that describes the error.
error["adLoadFailureInfo"]
- a description string that, when present, contains error codes and reasons why each mediated network failed to load an ad.
MAX Error Codes
Code | Description | Load / Display |
---|---|---|
−1 | The system is in an unexpected state. This error code represents an error that could not be categorized into one of the other defined errors. See the message field in the error object for more details. | L/D |
204 | No ads are currently eligible for your device (no fill). MAX returned no eligible ads from any mediated networks for this app/device. | L |
−5001 | The ad failed to load due to no networks being able to fill. MAX returned eligible ads from mediated networks, but all ads failed to load. See the adLoadFailureInfo field in the error object for more details. |
L |
−1000 | The ad request failed due to a generic network error. See the message field in the error object for more details. | L |
−1001 | The ad request timed out due to a slow internet connection. | L |
−1009 | The ad request failed because the device is not connected to the internet. | L |
−23 | You are attempting to show a fullscreen ad (interstitial or rewarded) while another fullscreen ad was still showing. | D |
−24 | You are attempting to show a fullscreen ad before it has been loaded. | D |
−5201 | The internal state of the SDK is invalid. There are various ways this can occur. | L |
−5205 | The adapter did not have an ad ready when attempting to display. | L |
−5209 | Unspecified internal error. | L |
−5601 | The SDK failed to load an ad because it could not find the top Activity . |
L |
−5602 | The SDK failed to display an ad because the user has the “Don’t Keep Activities” developer setting enabled. | D |
Error Codes from Various Networks
To better understand the error codes that various ad networks return, see the error documentation pages published by those networks:
- AdColony
- BidMachine (Android) & BidMachine (iOS)
- Chartboost
- Criteo
- DT Exchange
- Google bidding and Google AdMob (Android) & Google bidding and Google AdMob (iOS)
- InMobi
- ironSource (Android) & ironSource (iOS)
- Line (Android) & Line (iOS) (also)
- Maio (Android) & Maio (iOS)
- Meta Audience Network
- Mintegral
- MoPub
- Nend — banner ads (Android) & Nend — banner ads (iOS)
- Nend — icon ads (Android)
- Nend — video ads (Android)
- Nend — native ads (Android)
- Nend — rewarded video ads (iOS)
- Nend — interstitial video ads (iOS)
- Nend — native video ads (iOS)
- Ogury — interstitial ads (Android) & Ogury — interstitial ads (iOS)
- Ogury — opt-in video ads (Android) & Ogury — opt-in video ads (iOS)
- Ogury — banner ads (Android) & Ogury — banner ads (iOS)
- Pangle (Android) & Pangle (iOS)
- Tencent (Android) & Tencent (iOS)
- Unity Ads (Android) & Unity Ads (iOS)
- Vungle
- Yandex