示例#1
0
 //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
 }
示例#2
0
    //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);
 }
示例#5
0
 //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
     });
 }
示例#6
0
 //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;
 }
示例#7
0
 //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);
 }
示例#8
0
 //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());
 }
示例#10
0
 void HandleonInterstitialAdLoadFailedEvent(IronSourceError error)
 {
     AdDownloadCallback(AdsType.Interstitial, false, error.ToString());
 }
示例#11
0
 void HandleonBannerAdLoadFailedEvent(IronSourceError error)
 {
     AdDownloadCallback(AdsType.Banner, false, error.ToString());
 }
示例#12
0
 private void OnIntersAdShowFailed(IronSourceError err)
 {
     _onIntersAd?.Invoke((int)Type.ADS_RESULT_FAILED);
     Debug.Log($"[Inters Ads]Inters Ad show failed{err.ToString()}");
 }
示例#13
0
 //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();
 }