Error: case invalidAppID // = 2
The app ID fails SDK validation; for example, an empty string.
Error: case currentlyInitializing // = 3
The SDK was already initializing when another call is made.
Error: case alreadyInitialized // = 4
The SDK was already successfully initialized when another call is made.
Error: case sdkNotInitialized // = 6
This error is returned if any public API is called before initialization when initialization is required.
Error: case userAgentError // = 7
There was an error in retrieving webView user agent.
Error: case apiRequestError // = 101
Server error getting a response from an API call. Message contains the URL
Error: case apiResponseDataError // = 102
Server didn't send any data in the API call. Message contains the URL.
Error: case apiResponseDecodeError // = 103
SDK failed to decode the response into the expected object. Message contains the URL.
Error: case apiFailedStatusCode // = 104
The status code from an API call (to endpoints such as config, ads, etc.) returned something outside of the 2xx range. Message contains the URL.
Error: case invalidTemplateURL // = 105
The template URL is nil, empty, or invalid. Message contains the URL.
Error: case invalidRequestBuilderError // = 106
Failed to create a URL object to the targeted endpoint. Message contains the URL.
Error: case templateUnzipError // = 109
Failed to unarchive the template file.
Error: case invalidAssetURL // = 111
The URL from the cacheable replacements is invalid. Message contains the URL.
Error: case assetRequestError // = 112
The asset failed to download or Apple didn't return the temporary location to us. Message contains the URL.
Error: case assetResponseDataError // = 113
Apple returned an unexpected response object or failed to load the downloaded data.
Error: case assetWriteError // = 114
Failed to save the downloaded asset to disk.
Error: case invalidIndexURL // = 115
The index.html
doesn't exist or there's a problem with the event ID to lookup the HTML file.
Error: case assetFailedStatusCode // = 117
The status code from the asset download didn't return 200. Message contains the URL.
Error: case invalidAdsEndpoint // = 122
The ads endpoint doesn't exist in the config response body.
Error: case invalidRiEndpoint // = 123
The RI (Incentivized Reporting) endpoint is missing from the config response body. This endpoint is used in conjunction with rewarded (incentivized) ads.
Error: case assetFailedInsufficientSpace // = 126
During ad loading, an asset failed to download due to insufficient space available on the user’s device.
Error: case assetFailedMaxSpaceExceeded // = 127
During ad loading, an asset failed to download because the space required to download and cache the asset exceeded the maximum space available.
Error: case mraidDownloadJsError // = 130
MRAID JavaScript file download failed.
Error: case mraidJsWriteFailed // = 131
Failed to save MRAID JavaScript files to disk. In Vungle iOS SDK v.7.0.0, the SDK will attempt to download and write these files to disk during the next initialization. In iOS SDK v.7.0.1, the SDK will attempt to download and write these files to disk on the next ad load request.
Error: case invalidEventIDError // = 200
The event ID in the ads response is invalid or the local URL can't be created from it.
Error: case invalidPlacementID // = 201
The placement ID in the ad object is empty or missing from the /config response.
Error: case adConsumed // = 202
The load()
API was called when the ad was already marked as completed.
Error: case adIsLoading // = 203
The load()
API was called for a currently loading ad object.
Error: case adAlreadyLoaded // = 204
The load()
API was called when the ad object had already loaded successfully.
Error: case adIsPlaying // = 205
The load() API
, playAd()/
API, or canPlayAd()
API was called for an already playing ad object.
Error: case adAlreadyFailed // = 206
The load()
API was called on a failed ad object.
Error: case invalidBidPayload // = 208
The bid payload doesn't contain a valid ads response.
Error: case invalidJsonBidPayload // = 209
Mediation has participated in an auction and provided the SDK with a bid payload that it cannot parse into a JSON ad object.
Error: case adNotLoaded // = 210
The load()
API was not called before the playAd()
API, or the ad didn't complete loading.
Error: case placementSleep // = 212
The platform returned a sleeping response. Based on the code included in the response, wait before requesting another ad.
Error: case invalidAdunitBidPayload // = 213
Mediation has participated in an auction and provided the SDK with a bid payload from which it cannot decode the ad unit.
Error: case invalidGzipBidPayload // = 214
Failed to unzip the ad from the bid payload.
Error: case adResponseEmpty // = 215
Ad metadata not found in response.
Error: case adResponseInvalidTemplateType // = 216
The ad response uses a template type that is not valid for the instance that will present the ad.
Error: case adResponseTimedOut // = 217
Timeout error for /ads request.
Error: case mraidJsDoesNotExist // = 218
MRAID JS file not available
Error: case mraidJsCopyFailed // = 219
MRAID JavaScript copy to ad directory failed.
Error: case invalidIfaStatus // = 302
The user’s App Tracking Transparency (ATT) selection has been updated. Previously cached ads are no longer valid. Please request a new ad.
Error: case adExpired // = 304
The ads response expired. This error occurs immediately when the timer detects that it has expired.
Error: case mraidBridgeError // = 305
Failed to load the index HTML.
Error: case adExpiredOnPlay // = 307
The ads response expired. This error occurs if you call play on an expired ad object.
Error: case concurrentPlaybackUnsupported // = 400
You have attempted to call play on a full screen ad object with another already playing.
Error: case bannerViewInvalidSize // = 500
A different size container was supplied for the banner.
Error: case nativeAssetError // = 600
Critical native ad assets are missing.
Vungle SDK for iOS v.7.2.0 and Vungle SDK for Android v.7.1.0
The following errors apply to Vungle SDK for iOS v.7.2.0 and Vungle SDK for Android v.7.1.0 only.
Error: case adNoFill // = 10001
Server returned with "No fill" error for the placement.
Error: case adLoadTooFrequently // = 10002
Server returned "Ad load is too frequently" error for the placement.
Error: case adServerError // = 20001
Load shedding error occurred on the server.
Error: case adPublisherMismatch // = 30001
App ID or placement ID was not correct.
Error: case adInternalIntegrationError // = 30002
Internal integration error occurred.