예제 #1
0
 // Implement Load and Show Listener error callbacks:
 public void OnUnityAdsFailedToLoad(string adUnitId, UnityAdsLoadError error, string message)
 {
     Debug.Log($"Error loading Ad Unit {adUnitId}: {error.ToString()} - {message}");
     // Use the error details to determine whether to try to load another ad.
 }
예제 #2
0
 public void OnUnityAdsFailedToLoad(string placementId, UnityAdsLoadError error, string message)
 {
     s_Platform?.UnityAdsDidError(message);
 }
예제 #3
0
 public void OnUnityAdsFailedToLoad(string adUnitId, UnityAdsLoadError error, string message)
 {
     Debug.Log($"Error loading Ad Unit: {adUnitId} - {error.ToString()} - {message}");
     // Optionally execite code if the Ad Unit fails to load, such as attempting to try again.
 }
 private void OnLoadFailure(string placementId, UnityAdsLoadError error, string message)
 {
     m_UnityAdsInternalListener?.OnUnityAdsFailedToLoad(placementId, error, message);
     m_UserListener?.OnUnityAdsFailedToLoad(placementId, error, message);
 }