//Invoked when the banner loading process has failed. //@param description - string - contains information about the failure. void BannerAdLoadFailedEvent(IronSourceError error) { Debug.Log("SDK:IronSourceSDK >>>> BannerAdLoadFailedEvent error:" + error.ToString()); Assert.IsTrue(m_BannerStatus == ADStatus.Loading); m_BannerStatus = ADStatus.NotReady; // BannerAdLoadFailedEvent error:606 : No ads to show }
//Invoked when the Rewarded Video failed to show //@param description - string - contains information about the failure. void RewardedVideoAdShowFailedEvent(IronSourceError error) { videoCancelled(); // Couldn't display Debug.LogFormat("<color=red>IronSource Rewarded Ad Show Failed: </color>" + error.ToString()); #if UNITY_IOS Time.timeScale = 1; #endif }
//Invoked when the ad fails to show. //@param description - string - contains information about the failure. void InterstitialAdShowFailedEvent(IronSourceError error) { showDebug("InterstitialAdShowFailedEvent", error.ToString() + " " + error.getDescription()); onAdEventInfo(new AdEventInfo() { adType = AdType.Interstitial, eventType = AdEventType.INTERSTITIAL_AD_SHOW_FAILED }); doInterstitialEndCallback(); }
//Invoked when the initialization process has failed. //@param description - string - contains information about the failure. void InterstitialAdLoadFailedEvent(IronSourceError error) { showDebug("InterstitialAdLoadFailedEvent", error.ToString() + " " + error.getDescription()); onAdEventInfo(new AdEventInfo() { adType = AdType.Interstitial, eventType = AdEventType.INTERSTITIAL_AD_LOAD_FAILED }); doInterstitialLoadResultCallback(false); }
//Invoked when the banner loading process has failed. //@param description - string - contains information about the failure. private void BannerAdLoadFailedEvent(IronSourceError error) { if (enableDebug) { Debug.LogError(error.ToString()); } onAdEventInfo(new AdEventInfo() { adType = AdType.Banner, eventType = AdEventType.BANNER_AD_LOAD_FAILED }); }
//Invoked when the ad fails to show. //@param description - string - contains information about the failure. void InterstitialAdShowFailedEvent(IronSourceError error) { Debug.Log("SDK:IronSourceSDK >>>> InterstitialAdShowFailedEvent error:" + error.ToString()); this.m_InterstitialStatus = ADStatus.NotReady; }
//Invoked when the initialization process has failed. //@param description - string - contains information about the failure. void InterstitialAdLoadFailedEvent(IronSourceError error) { Debug.Log("SDK:IronSourceSDK >>>> InterstitialAdLoadFailedEvent error:" + error.ToString()); Assert.IsTrue(this.m_InterstitialStatus == ADStatus.Loading); this.m_InterstitialStatus = ADStatus.NotReady; this.m_showInterstitialAfterLoaded = false; this.InvokeInterstitialHandlerAndClean(ADResult.InterstitialResult.UNAVAILABLE, true); }
//Invoked when the Rewarded Video failed to show //@param description - string - contains information about the failure. void RewardedVideoAdShowFailedEvent(IronSourceError error) { Debug.Log("SDK:IronSourceSDK >>>> RewardedVideoAdShowFailedEvent error:" + error.ToString()); this.InvokeRewardedVideoHandlerAndClean(ADResult.RewardedVideoResult.UNAVAILABLE, true); }
private void RewardedVideoAdShowFailedEvent(IronSourceError obj) { NotifyError("error", obj.ToString()); }
void HandleonInterstitialAdLoadFailedEvent(IronSourceError error) { AdDownloadCallback(AdsType.Interstitial, false, error.ToString()); }
void HandleonBannerAdLoadFailedEvent(IronSourceError error) { AdDownloadCallback(AdsType.Banner, false, error.ToString()); }
private void OnIntersAdShowFailed(IronSourceError err) { _onIntersAd?.Invoke((int)Type.ADS_RESULT_FAILED); Debug.Log($"[Inters Ads]Inters Ad show failed{err.ToString()}"); }
//Invoked when the banner loading process has failed. //@param description - string - contains information about the failure. void BannerAdLoadFailedEvent(IronSourceError error) { GameEventsController.Instance.WriteToLog("OnBannerLoadFailed: " + error.ToString()); IronSource.Agent.displayBanner(); }