private void onWidgetError(int request_id, PlayHaven.Error error)
    {
        widget_showed = false;

        Error(API, ERROR_TRY_SHOW_WIDGET + "\n" +
              "Code: " + error.code + " | Description: " + error.description);
    }
    private void onInterstitialError(int request_id, PlayHaven.Error error)
    {
        interstitial_showed = false;

        Error(API, ERROR_TRY_SHOW_INTERSTITIAL + "\n" +
              "Code: " + error.code + " | Description: " + error.description);
    }
 public void didFailToLoadPlayHavenContent(int num, PlayHaven.Error error)
 {
     Debug.Log("Failed to load PlayHaven content");
     if (SSAdManager.activateInterstitial)
     {
         SSAdManager.failedInterstitial = true;
         SSAdManager.failCounter++;
     }
     else if (SSAdManager.activateMoreGames)
     {
         SSAdManager.failedMoreGames = true;
         SSAdManager.failCounter++;
     }
 }