An ad request can fail for a number of reasons including network errors, or an invalid parameter. When an ad request failed to load the ad, the AdListener.onAdError event is called, returning an AdError object that contains an error code and message.
A complete list of error codes with descriptions can be found below:
Code | Error Name | Description |
---|---|---|
100 | NO_FILL_ERROR | The ad request is valid, but no ads were available. |
200 | NETWORK_ERROR | The ad request failed due to a problem with network connectivity. |
300 | INVALID_REQUEST_ERROR | The ad request has invalid parameters. |
400 | INTERNAL_ERROR | The ad request failed due to a server-side error. |