-
public interface CloudXErrorCodeError codes returned by the CloudX SDK.
Error codes are organized into ranges by category:
0: General errors
100–199: Network errors — from CloudX server communication (config fetch, bid requests, geo lookups). Not from ad network SDKs — those are in the Adapter (600–699) range. These can surface during initialization (via
onInitializationFailed()) or ad loading (viaonAdLoadFailed()), depending on which request failed.200–299: Initialization errors — codes 201–204 are delivered via
onInitializationFailed(). Code 200 (NOT_INITIALIZED) fires whenload()orshow()is called before initialization completes, delivered viaonAdLoadFailed()oronAdDisplayFailed().300–399: Ad loading errors — delivered via
onAdLoadFailed(adUnitId, error)for all ad formats (banner, MREC, interstitial, rewarded).400–499: Ad display errors — fullscreen ads only (interstitial, rewarded), delivered via
onAdDisplayFailed(cloudXAd, error). Banners report load errors only.500–599: Reserved, currently unused.
600–699: Adapter errors — from individual ad network SDKs, mapped to standardized CloudX codes. When a single bid fails, the publisher sees the specific adapter error. When multiple bids all fail, the publisher sees
NO_FILL (302)instead. Individual adapter init failures are not surfaced to the publisher; the SDK tracks them via metrics, and the publisher receivesonInitialized()successfully.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCloudXErrorCode.Companion
-