Result Code | Value | Description | Solution |
|---|---|---|---|
0 | Internal error. |
| |
1 | Invalid ad request. For example, the ad unit ID is not set or the banner ad dimensions are invalid. |
| |
2 | Failed to send the ad request due to a network connection error. | Verify that the network connection is normal. | |
3 | The ad request is sent successfully, but the server returns a response indicating no available ad assets. | Check whether the ad unit ID has taken effect and whether the test device is connected to the correct network. Alternatively, you can contact customer service. | |
4 | The ad is being loaded and cannot be requested again. | Check whether the ad request is sent repeatedly. | |
5 | The API version is not supported by Ads Kit. |
| |
6 | The banner ad has expired. | Request the ad again. Do not cache the ad. | |
7 | The banner ad task has been removed. | ||
8 | The HMS Core (APK) version does not support the setting of AppInfo. | Update HMS Core (APK) on your device to the latest version. |
If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.