目录

AdParam.ErrorCode

Interface Info

public static interface AdParam.ErrorCode

广告请求错误码。

Public Field Summary

Qualifier and Type

Field and Description

static final int

AD_LOADING

广告正在请求中,不能重复发起请求。

static final int

BANNER_AD_CANCEL

横幅广告任务下架。

static final int

BANNER_AD_EXPIRE

横幅广告过期。

static final int

HMS_NOT_SUPPORT_SET_APP

HMS Core(APK)版本过低,不支持设置AppInfo。

static final int

INNER

内部错误。

static final int

INVALID_REQUEST

无效的广告请求,如未设置广告位ID、Banner广告尺寸无效等。

static final int

LOW_API

API版本不在广告服务支持范围内。

static final int

NETWORK_ERROR

由于网络连接错误导致广告请求失败。

static final int

NO_AD

广告请求成功,但是服务器返回没有可用的广告素材。

Public Fields

[h2]AD_LOADING

Fields

public static final int AD_LOADING

广告正在请求中,不能重复发起请求。

另请参阅:Constant-values

[h2]BANNER_AD_CANCEL

Fields

public static final int BANNER_AD_CANCEL

横幅广告任务下架。

另请参阅:Constant-values

[h2]BANNER_AD_EXPIRE

Fields

public static final int BANNER_AD_EXPIRE

横幅广告过期。

另请参阅:Constant-values

[h2]HMS_NOT_SUPPORT_SET_APP

Fields

public static final int HMS_NOT_SUPPORT_SET_APP

HMS Core(APK)版本过低,不支持设置AppInfo。

另请参阅:Constant-values

[h2]INNER

Fields

public static final int INNER

内部发生错误,如从广告服务器收到无效的响应。

另请参阅:Constant-values

[h2]INVALID_REQUEST

Fields

public static final int INVALID_REQUEST

无效的广告请求,如未设置广告位ID、Banner广告尺寸无效等。

另请参阅:Constant-values

[h2]LOW_API

Fields

public static final int LOW_API

API版本不在广告服务支持范围内。

另请参阅:Constant-values

[h2]NETWORK_ERROR

Fields

public static final int NETWORK_ERROR

由于网络连接错误导致广告请求失败。

另请参阅:Constant-values

[h2]NO_AD

Fields

public static final int NO_AD

广告请求成功,但是服务器没有返回可用的广告素材。

另请参阅:Constant-values