MoPubErrorCode

public enum MoPubErrorCode implements MoPubError

Recognized error codes that the MoPub SDK and mediation adapters use in callbacks to notify publishers of error cases.

Public Constants

public final /AD_SUCCESS

  • Description: An ad has been successfully loaded.

public final /ADAPTER_CONFIGURATION_ERROR

  • Description: An adapter or custom event has been configured incorrectly. For example, required keys needed by the adapter may be unavailable in the ad response.

public final /ADAPTER_INITIALIZATION_SUCCESS

  • Description: An adapter or custom event has successfully initialized. This initialization occurs in parallel with the MoPub SDK initialization via MoPub.initializeSdk().

public final /ADAPTER_NOT_FOUND

  • Description: An adapter or custom event class instantiated by the MoPub SDK is not found in the current app project. Make sure the classes have been integrated properly and exist in the exported APK.

public final /CANCELLED

  • Description: An ad request has been cancelled. Only used in SDK tests.

public final /DO_NOT_TRACK

  • Description: The user has enabled limited ad tracking on the device. Dispatched in onConsentDialogLoadFailed() by the SDK if a consent dialog is attempted to load while limited ad tracking is enabled.

public final /EXPIRED

public final /GDPR_DOES_NOT_APPLY

  • Description: GDPR does not apply. Ignoring consent-related actions.

public final /INTERNAL_ERROR

  • Description: Unable to serve ad due to invalid internal state.

public final /MISSING_AD_UNIT_ID

  • Description: Unable to serve ad due to missing or empty ad unit ID.

public final /MRAID_LOAD_ERROR

  • Description: Error loading MRAID ad.

public final /NETWORK_INVALID_STATE

  • Description: Third-party network failed due to invalid internal state.

public final /NETWORK_NO_FILL

  • Description: Third-party network failed to provide an ad.

public final /NETWORK_TIMEOUT

  • Description: Third-party network failed to respond in a timely manner.

public final /NO_CONNECTION

  • Description: No internet connection detected.

public final /NO_FILL

  • Description: No ads found.

public final /RENDER_PROCESS_GONE_UNSPECIFIED

  • Description: Render process is gone for this WebView. Unspecified cause.

public final /RENDER_PROCESS_GONE_WITH_CRASH

  • Description: Render process for this WebView has crashed.

public final /REWARD_NOT_SELECTED

  • Description: Reward not selected for rewarded ad.

public final /REWARDED_CURRENCIES_PARSING_ERROR

  • Description: Error parsing rewarded currencies JSON header.

public final /SERVER_ERROR

  • Description: Unable to connect to MoPub adserver.

public final /UNSPECIFIED

  • Description: Unspecified error.

public final /VIDEO_CACHE_ERROR

  • Description: Error creating a cache to store downloaded videos.

public final /VIDEO_DOWNLOAD_ERROR

  • Description: Error downloading video.

public final /VIDEO_NOT_AVAILABLE

  • Description: No video loaded for ad unit.

public final /VIDEO_PLAYBACK_ERROR

  • Description: Error playing a video.

public final /WARMUP

  • Description: Ad unit is warming up. Try again in a few minutes.

Last updated February 11, 2020

TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.

© 2020 MoPub (a division of Twitter, Inc.)