Beispiel #1
0
 public void OnUnityAdsShowFailure(string adUnitId, UnityAdsShowError error, string message)
 {
     Debug.Log($"Error showing Ad Unit {adUnitId}: {error.ToString()} - {message}");
     // Optionally execite code if the Ad Unit fails to show, such as loading another ad.
     isAdLoaded = false;
     LoadAd();
 }
 public void OnUnityAdsShowFailure(string adUnitId, UnityAdsShowError error, string message)
 {
     Debug.Log($"Error showing Ad Unit {adUnitId}: {error.ToString()} - {message}");
     // Use the error details to determine whether to try to load another ad.
 }
Beispiel #3
0
 public void OnUnityAdsShowFailure(string placementId, UnityAdsShowError error, string message)
 {
     s_Platform?.UnityAdsDidError(message);
 }
Beispiel #4
0
 private void OnShowFailure(string placementId, UnityAdsShowError error, string message)
 {
     m_UnityAdsInternalListener?.OnUnityAdsShowFailure(placementId, error, message);
     m_UserListener?.OnUnityAdsShowFailure(placementId, error, message);
 }