示例#1
0
 //Invoked when the Rewarded Video failed to show
 //@param description - string - contains information about the failure.
 void RewardedVideoAdShowFailedEvent(IronSourceError error)
 {
     LDebug.Log("RewardedVideoAdShowFailedEvent" + "  " + (error != null ? error.getDescription() : "error is null"));
     if (RewardShowEventHandler != null)
     {
         RewardShowEventHandler(false);
     }
 }
 //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);
 }
示例#4
0
 //Invoked when the initialization process has failed.
 //@param description - string - contains information about the failure.
 void InterstitialAdLoadFailedEvent(IronSourceError error)
 {
     LDebug.Log("==InterstitialAdLoadFailedEvent");
     if (error != null)
     {
         LDebug.Log(error.getDescription());
     }
     if (InterstitialLoadEventHandler != null)
     {
         InterstitialLoadEventHandler(false);
     }
 }
示例#5
0
 private void RewardedVideoAdShowFailedEvent(IronSourceError error)
 {
     if (isDebugging)
     {
         Debug.Log(string.Format("[ironSourceEvent] Rewarded video show failed. Error:{0}", error.getDescription()));
     }
     if (currentAd != null && currentAd.Callbacks.OnError != null)
     {
         currentAd.Callbacks.OnError(error.getDescription());
         currentAd.Dispose();
         currentAd = null;
     }
     SetAdAvailability(AdTypes.Interstitial, false);
 }
示例#6
0
        private void InterstitialAdShowFailedEvent(IronSourceError error)
        {
            if (isDebugging)
            {
                Debug.Log(string.Format("[ironSourceEvent] Interstitial failed. Error: {0}", error.getDescription()));
            }

            if (currentAd != null && currentAd.Callbacks.OnError != null)
            {
                currentAd.Callbacks.OnError(error.getDescription());
            }
            currentAd.Dispose();
            currentAd = null;
        }
 void GetOfferwallCreditsFailedEvent(IronSourceError error)
 {
     Debug.Log("I got GetOfferwallCreditsFailedEvent, code :  " + error.getCode() + ", description : " + error.getDescription());
 }
 void BannerAdLoadFailedEvent(IronSourceError error)
 {
     Debug.Log("unity-script: I got BannerAdLoadFailedEvent, code: " + error.getCode() + ", description : " + error.getDescription());
 }
 void InterstitialAdShowFailedDemandOnlyEvent(string instanceId, IronSourceError error)
 {
     Debug.Log("unity-script: I got InterstitialAdShowFailedDemandOnlyEvent for instance: " + instanceId + ", error code :  " + error.getCode() + ",error description : " + error.getDescription());
 }
 void InterstitialAdShowFailedDemandOnlyEvent(string instanceId, IronSourceError error)
 {
     Debug.Log("unity-script: I got InterstitialAdShowFailedDemandOnlyEvent for instance: " + instanceId + ", error code :  " + error.getCode() + ",error description : " + error.getDescription());
     ShowText.GetComponent <UnityEngine.UI.Text> ().color = UnityEngine.Color.red;
 }
示例#11
0
 private void InterstitialAdLoadFailedEvent(IronSourceError error)
 {
     if (isDebugging)
     {
         Debug.Log(string.Format("[ironSourceEvent] Interstitial ad load failed. Error: {0} ", error.getDescription()));
     }
     SetAdBuffering(AdTypes.Interstitial, false);
     SetAdAvailability(AdTypes.Interstitial, false);
     currentAd = null;
 }
示例#12
0
 protected void OnInterstitialAdLoadFailedEvent(IronSourceError error)
 {
     HandleOnAdFailedToLoad(error.getDescription());
 }
示例#13
0
 void InterstitialAdShowFailEvent(IronSourceError error)
 {
     Debug.Log("I got InterstitialAdShowFailEvent, code :  " + error.getCode() + ", description : " + error.getDescription());
     //ShowText.GetComponent<UnityEngine.UI.Text>().color = UnityEngine.Color.red;
 }
示例#14
0
 void InterstitialAdLoadFailedEvent(IronSourceError error)
 {
     LogUtils.Log("unity-script: I got InterstitialAdLoadFailedEvent, code: " + error.getCode() +
                  ", description : " + error.getDescription());
     OnInterstitialLoadFailed(error.getDescription());
 }
示例#15
0
 void RewardedVideoAdShowFailedEvent(IronSourceError error)
 {
     LogUtils.Log("unity-script: I got RewardedVideoAdShowFailedEvent, code :  " + error.getCode() +
                  ", description : " + error.getDescription());
 }
示例#16
0
 void InterstitialAdLoadFailedEvent(IronSourceError error)
 {
     isInterstitialLoading = false;
     Debug.Log("unity-script: I got InterstitialAdLoadFailedEvent, code: " + error.getCode() + ", description : " + error.getDescription());
 }
示例#17
0
 //Invoked when the banner loading process has failed.
 //@param description - string - contains information about the failure.
 void BannerAdLoadFailedEvent(IronSourceError error)
 {
     Debug.Log("Banner Failed: " + error.getDescription());
     isBannerReady = false;
 }
示例#18
0
 private void InterstitialAdShowFailedEvent(IronSourceError error)
 {
     D.Log($"FS Show failed with code = {error.getCode()}, error code = {error.getErrorCode()}, description = {error.getDescription()}");
     ResetFSLoad();
 }
 private void OfferwallShowFailedEvent(IronSourceError error)
 {
     UnityEngine.Debug.Log("I got OfferwallShowFailedEvent, code :  " + error.getCode() + ", description : " + error.getDescription());
 }
示例#20
0
 //Invoked when the banner loading process has failed.
 //@param description - string - contains information about the failure.
 void BannerAdLoadFailedEvent(IronSourceError error)
 {
     //CanvasControl.Instance.IsShowBanner = false;
     Debug.Log("I got BannerAdLoadFailedEvent, code: " + error.getCode() + ", description : " + error.getDescription());
     //GameHelper.Instance.Log("I got BannerAdLoadFailedEvent, code: " + error.getCode() + ", description : " + error.getDescription());
     //GameHelper.Instance.IsBannerSwitchOn = false;
 }
示例#21
0
 void InterstitialAdLoadFailedEvent(IronSourceError error)
 {
     Debug.Log("I got InterstitialAdLoadFailedEvent, code: " + error.getCode() + ", description : " + error.getDescription());
     LoadInterstitial();
 }
示例#22
0
 private void InterstitialAdLoadFailedEvent(IronSourceError error)
 {
     UnityEngine.Debug.Log("unity-script: I got InterstitialAdLoadFailedEvent, code: " + error.getCode() + ", description : " + error.getDescription());
 }
示例#23
0
 void RewardedVideoAdShowFailedEvent(IronSourceError error)
 {
     Debug.Log("I got RewardedVideoAdShowFailedEvent, code :  " + error.getCode() + ", description : " + error.getDescription());
 }
示例#24
0
 //Invoked when the Rewarded Video failed to show
 //@param description - string - contains information about the failure.
 void RewardedVideoAdShowFailedEvent(IronSourceError error)
 {
     AnalitycsManager.Instance.LogEvent("Ad_Event", "RewardedVideoFail", "Reason_" + error.getDescription() + " errorCode_" + error.getErrorCode());
     OnRewardFailEvent.Invoke();
     OnRewardFailEvent.RemoveAllListeners();
 }
示例#25
0
 private void RewardedVideoAdShowFailedEvent(IronSourceError error)
 {
     UnityEngine.Debug.Log("unity-script: I got RewardedVideoAdShowFailedEvent, code :  " + error.getCode() + ", description : " + error.getDescription());
 }
示例#26
0
 void InterstitialAdShowFailedEvent(IronSourceError error)
 {
     Debug.Log("unity-script: I got InterstitialAdShowFailedEvent, code :  " + error.getCode() + ", description : " + error.getDescription());
 }
 void RewardedVideoAdLoadFailedDemandOnlyEvent(string instanceId, IronSourceError error)
 {
     ShowText.GetComponent <UnityEngine.UI.Text>().color = UnityEngine.Color.red;
     Debug.Log("unity-script: I got RewardedVideoAdLoadFailedDemandOnlyEvent for instance: " + instanceId + ", code :  " + error.getCode() + ", description : " + error.getDescription());
 }
示例#28
0
 private void RewardedVideoAdShowFailedEvent(IronSourceError error)
 {
     D.Log($"RV Show failed with code = {error.getCode()}, error code = {error.getErrorCode()}, description = {error.getDescription()}");
 }
示例#29
0
 private void OnInterstitialLoadFail(IronSourceError obj)
 {
     AnalitycsManager.Instance.LogEvent("Ad_Event", "FailedToLoadInterstitialVideo", "Desc_" + obj.getDescription() + " errorCode_" + obj.getErrorCode());
     Debug.Log("FailedToLoadInterstitialVideo " + "Desc: " + obj.getDescription() + " error code: " + obj.getErrorCode());
 }
示例#30
0
 void RewardedVideoAdShowFailedDemandOnlyEvent(string instanceId, IronSourceError error)
 {
     Debug.Log("unity-script: I got RewardedVideoAdShowFailedDemandOnlyEvent for instance: " + instanceId + ", code :  " + error.getCode() + ", description : " + error.getDescription());
 }