AdError
package com.intowow.sdk
public class AdError
this class is used for getting error information by AdListener when requesting ad fail.
Public constructors
Constants
int
int
int
int
int
int
int
int
int
int
int
int
Public methods
int
String
Public constructors
AdError
AdError(int errorCode, String errorMsg)
Instantiates a new AdError.
Parameters
errorCode
int: the ad error code.
errorMsg
String: the error message.
Constants
CODE_NETWORK_ERROR
int CODE_NETWORK_ERROR
There is something wrong with the network connection.
Constant Value: 100
CODE_SERVER_ERROR
int CODE_SERVER_ERROR
The server occurs error, please contact with your Intowow account manager.
Constant Value: 101
CODE_INTERNAL_ERROR
int CODE_INTERNAL_ERROR
The SDK occurs error, please contact with your Intowow account manager.
Constant Value: 102
CODE_NO_FILL_ERROR
int CODE_NO_FILL_ERROR
There is no ad to serve.
Constant Value: 103
CODE_SDK_INIT_NOT_READY_ERROR
int CODE_SDK_INIT_NOT_READY_ERROR
The initialization of SDK has not yet been completed, please wait few seconds.
Constant Value: 104
CODE_REQUEST_TIMEOUT_ERROR
int CODE_REQUEST_TIMEOUT_ERROR
It is timeout for your requesting.
Constant Value: 105
CODE_INVALID_PLACEMENT_ERROR
int CODE_INVALID_PLACEMENT_ERROR
Please check your placement is correct.
Constant Value: 106
CODE_AD_NOT_SERVING_ERROR
int CODE_AD_NOT_SERVING_ERROR
This crystal id is disable, please contact with your Intowow account manager.
Constant Value: 107
CODE_SDK_HIBERNATE
int CODE_SDK_HIBERNATE
SDK is on hibernate status for some reason, such as access SD card error or the API level of an Android device is lower than the minimum API level 14.
Constant Value: 108
CODE_STORAGE_SPACE_NOT_ENOUGH
int CODE_STORAGE_SPACE_NOT_ENOUGH
Make sure your phone has enough storage space (at least 350 MB).
Constant Value: 109
CODE_PARAMETER_ERROR
int CODE_PARAMETER_ERROR
Make sure you have set non-null context and listener before you call loadAd();
Constant Value: 110
CODE_AD_RENDER_ERROR
int CODE_AD_RENDER_ERROR
It maybe occurs in WebView format, please remove or replace this ad from UI.
Constant Value: 111
Public methods
getErrorCode
int getErrorCode()
Get the error code.
Returns
int
the error code.
getErrorMessage
String getErrorMessage()
Get the error message.
Returns
String
the error message.
Last updated