Your ad display delegate or callback interface receives a call if an ad fails to load or fails to display. An error code accompanies this call. This page describes these error codes.
The error that you receive in your callback is a first-class error object that implements MAError.
This object has the following API:
codemessagemediatedNetworkErrorCodemediatedNetworkErrorMessagegetWaterfall()| Code | Constant | Description | Load / Display |
|---|---|---|---|
| −1 | MAErrorCodeUnspecified | The system is in an unexpected state. This error code represents an error that MAX could not categorize into one of the other defined errors. See the message field in the error object for more details. | L/D |
| 204 | MAErrorCodeNoFill | No ads are eligible for your device (no fill). MAX returned no eligible ads from any mediated networks for this app/device. | L |
| −5001 | MAErrorCodeAdLoadFailed | The ad failed to load because no networks can fill. MAX returned eligible ads from mediated networks, but all ads failed to load. Inspect -[MAError waterfall] for more details. | L |
| −1000 | MAErrorCodeNetworkError | The ad request failed due to a generic network error. See the message field in the error object for more details. | L |
| −1001 | MAErrorCodeNetworkTimeout | The ad request timed out due to a slow internet connection. | L |
| −1009 | MAErrorCodeNoNetwork | The ad request failed because the device is not connected to the internet. | L |
| −23 | MAErrorCodeFullscreenAdAlreadyShowing | You attempt to show a fullscreen ad (interstitial or rewarded) while another fullscreen ad still shows. | D |
| −24 | MAErrorCodeFullscreenAdNotReady | You attempt to show a fullscreen ad before it loads. | D |
| −25 | MAErrorCodeFullscreenAdInvalidViewController | You attempted to present a fullscreen ad from an invalid view controller. | D |
| −4205 | MAErrorCodeAdDisplayFailed | Error occurred while displaying the ad. See the message field in the error object for more details. | D |
| −5201 | MAAdapterError.invalidLoadState | The internal state of the SDK is invalid. | L |
| −5205 | MAAdapterError.adNotReady | The adapter did not have an ad ready when attempting to display. | L |
| −5209 | MAAdapterError.internalError | Unspecified internal error. | L |
| −5603 | MAErrorCodeInvalidAdUnitIdentifier | The SDK failed to load an ad because the publisher provided an invalid ad unit identifier. Possible reasons for an invalid ad unit identifier:
| L |
To better understand the error codes that ad networks return, see the error documentation pages published by those networks: