Error Codes
When an error occurs during ad loading or rendering, a GFPError is delivered through each delegate callback. You can identify the cause of the issue using the error code on GFPError.
| Category | Sub-category | Description | Code Name | Error Code | Notes |
|---|---|---|---|---|---|
| General error | Occurs when the SDK is not in a suitable state for ad selection or display | GFPErrorInternal | 1000 | ||
| GFPErrorWrongCommand | 1100 | Not used | |||
| Initialization error | Ad module initialization | Occurs when ad module initialization fails | GFPErrorInitProvider | 2200 | Check that Mediation is declared in the Podfile. |
| GFPErrorInitUnknownProvider | 2210 | ||||
| GFPErrorInitBannerProvider | 2220 | ||||
| GFPErrorInitVideoProvider | 2230 | ||||
| GFPErrorInitNativeProvider | 2240 | ||||
| GFPErrorInitCombinedProvider | 2250 | ||||
| Initialization error | Server communication | Occurs when the initialization API request fails | GFPErrorParamInitInfo | 2300 | Check publisherCd. |
| GFPErrorRequestInitInfo | 2310 | ||||
| GFPErrorParseInitInfo | 2320 | ||||
| GFPErrorWrongFormatInitInfo | 2321 | ||||
| Ad load error | General | GFPErrorLoad | 3000 | ||
| GFPErrorCancelInternal | 3001 | ||||
| GFPErrorBannerInvalidSize | 3002 | ||||
| GFPErrorVideoVastEmpty | 3003 | ||||
| GFPErrorVideoVastWrongFormat | 3004 | ||||
| GFPErrorVideoLoudnessWrongFormat | 3005 | ||||
| GFPErrorVideoNonLinearWrongFormat | 3006 | ||||
| GFPErrorVideoAdBreakWrongFormat | 3007 | ||||
| Ad load error | Parameter | GFPErrorInvalidAdUnit | 3110 | Check the ad unitId. | |
| GFPErrorInvalidAdParam | 3120 | ||||
| Ad load error | Server communication | Occurs when the ad request API fails | GFPErrorRequestAdList | 3210 | Contact the SDK team. |
| GFPErrorParseAdList | 3220 | ||||
| GFPErrorWrongFormatAdList | 3221 | ||||
| Ad load error | Ad selection | GFPErrorNoValidProvider | 3301 | Check that Mediation is declared in the Podfile. | |
| GFPErrorNoFill | 3310 | ||||
| GFPErrorBannerProviderLoadFailed | 3311 | ||||
| GFPErrorVideoProviderLoadFailed | 3312 | ||||
| GFPErrorNativeProviderLoadFailed | 3313 | ||||
| GFPErrorInvalidAdSize | 3314 | ||||
| GFPErrorRenderingNotSupported | 3320 | Not used | |||
| Ad load error | Timeout | GFPErrorRequestTimeout | 3400 | ||
| Video ad | Playback error | GFPErrorVideoAdStartFailed | 4110 | ||
| GFPErrorVideoAdNotYetLoaded | 4111 | ||||
| GFPErrorVideoStartTimeout | 4112 | ||||
| GFPErrorVideoBufferingTimeout | 4113 | ||||
| Native ad | Rendering error | GFPErrorNativeAdRendering | 5100 | Check the hasMediaView setting. | |
| GFPErrorNativeImageLoadFailed | 5110 | ||||
| GFPErrorNativeVideoLoadFailed | 5120 | Not used | |||
| Rewarded ad | General | GFPErrorRewardedAd | 6000 | Not used | |
| Rendering error | GFPErrorRewardedAdRendering | 6100 | Check that the reward ad is loaded. | ||
| Interstitial ad | General | GFPErrorInterstitialAd | 7000 | Not used | |
| Rendering error | GFPErrorInterstitialAdRendering | 7100 | Not used | ||
| Scheduled ad | General | GFPErrorSchedule | 9000 | Not used | |
| Scheduled ad | Parameter | GFPErrorInvalidScheduleInValidParam | 9100 | Check policy and duration of scheduleParam. | |
| GFPErrorInvalidScheduleUnit | 9110 | Check scheduleId. | |||
| GFPErrorInvalidScheduleParam | 9120 | ||||
| Scheduled ad | Server communication | GFPErrorRequestScheduleList | 9210 | Contact the SDK team. | |
| GFPErrorParseScheduleList | 9220 | ||||
| GFPErrorScheduleVideoLoadFailed | 9312 | Not used | |||
| Banner ad | MRAID ad | GFPErrorMraidSDKInternal | 60000 | ||
| GFPErrorMraidResizeAdSizeError | 60001 | ||||
| GFPErrorMraidUnloadCalled | 60002 | Not used | |||
| Banner ad | JSTag ad | GFPErrorJSTagInternal | 70000 |