AdError class
To see the error code, see AdError.code. To see a description of the error, see AdError.message. See CODE constants for a list of error codes.
- Implemented types
Constructors
- AdError.new(int code, String message)
Properties
Methods
-
compareTo(
int other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- codeAlreadyDisplayed → const int
- Indicates that another fullscreen ad is currently being displayed, preventing new ads from showing. Review your ad display logic to avoid duplicate impressions.
- codeAppIsPaused → const int
- codeConfigurationError → const int
- Indicates that there is a configuration error in one of the mediation ad sources. Report this error to your support manager for further assistance.
- codeInternalError → const int
- Indicates an internal error occurred.
- codeIntervalNotYetPassed → const int
- codeManagerIsDisabled → const int
- codeNoConnection → const int
- Indicates that there is no internet connection available, which prevents ads from loading.
- codeNoFill → const int
- Indicates that no ads are available to be served. If ads are visible in demo mode, your implementation is correct, and ads will be served once live.
- codeNotEnoughSpace → const int
- codeNotForeground → const int
- Indicates that ads cannot be shown because the application is not currently in the foreground.
- codeNotInitialized → const int
- Indicates that the CAS SDK is not initialized. Ensure to add CAS initialization code.
- codeNotPassedInterval → const int
- Indicates that the interval between impressions of interstitial ads has not yet passed. To change the interval, use the AdsSettings.interstitialInterval method. This error may also occur if a trial ad-free interval has been defined and has not yet passed since app start.
- codeNotReady → const int
- Indicates that ads are not ready to be shown. Ensure to call the appropriate ad loading method or use automatic cache mode. If using automatic load mode, wait a little longer for ads to be ready.
- codeReachedCap → const int
- Indicates that the ad creative has reached its daily cap for the user. This is typically relevant for cross-promotion ads only.
- codeTimeout → const int
- Indicates a timeout error occurred because the advertising source did not respond in time. The system will continue waiting for a response, which may delay ad loading or cause a loading error.
- rejected → const int
- Indicates that the device is rejected for services. Services may not be available for some devices that do not meet the requirements. For example, the country or version of the OS.