> For the complete documentation index, see [llms.txt](https://platform-business.gitbook.io/adx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform-business.gitbook.io/adx/zh/android/sdk-integration/ad-error.md). Agents can also search and read this documentation through its [MCP server](https://platform-business.gitbook.io/adx/~gitbook/mcp).

# Ad Error

通过 SDK 对广告失败的代码和信息如下定义。

<table><thead><tr><th>Code</th><th width="191.3754167895298">Message</th><th width="359">Description</th></tr></thead><tbody><tr><td>100</td><td>No fill.</td><td>无广告</td></tr><tr><td>101</td><td>Invalid ad request.</td><td>请求参数错误（请检查 App ID、AdUnit ID）</td></tr><tr><td>102</td><td>A network error occurred.</td><td><p>网络错误（服务器通信错误，如持续发生请联系）</p><p>或请求参数错误（请检查 App ID、AdUnit ID）</p></td></tr><tr><td>103</td><td>No internet connection detected.</td><td>无可用的互联网连接信息（请检查网络连接状态）</td></tr><tr><td>104</td><td>An internal error occurred.</td><td>内部错误（发生时请联系）</td></tr><tr><td>105</td><td>SDK must be initialized before ads loading.</td><td>SDK 未完成初始化（集成失败）</td></tr><tr><td>106</td><td>Previous ad request is being processed.</td><td>重复请求（在现有请求完成前重新请求）</td></tr><tr><td>107</td><td>An error occurred while loading content.</td><td>内容加载错误（WebView 内容加载失败）</td></tr><tr><td>108</td><td>A server data error occurred.</td><td>服务器数据错误（数据解析错误，如持续发生请联系）</td></tr><tr><td>109</td><td>Invalid ad layout.</td><td>布局设置错误（横幅广告处于后台状态或插槽尺寸错误，原生广告缺少必需元素）</td></tr><tr><td>110</td><td>Ad request was blocked with minimum time limit.</td><td>广告请求的时间限制（与现有请求时间比较后不发送至服务器）</td></tr><tr><td>111</td><td>An unspecified error occurred.</td><td>无媒介化信息</td></tr></tbody></table>
