void AdFinishedHandler(SpilAdFinishedResponse response)
    {
        // Re-enable the game music etc.

        // When an ad finishes we can immediately request a new one
        if (response.GetTypeAsEnum() == enumAdType.RewardVideo)
        {
            Spil.Instance.SendRequestRewardVideoEvent();
        }
        if (response.GetTypeAsEnum() == enumAdType.MoreApps)
        {
            Spil.Instance.RequestMoreApps();
        }

        // Reward video's may also send a reward in the response if the video wasn't dismissed
        if (response.reward != null)
        {
            int rewardAmount = response.reward.reward;
            Debug.Log ("Rewarded " + rewardAmount + (response.reward.currencyName != null ? " " + response.reward.currencyName : " credits"));
        }
    }
    void AdFinishedHandler(SpilAdFinishedResponse response)
    {
        // Re-enable the game music etc.
        txtStatus1.text = "Ad finished";

        // Reward video's may also send a reward in the response if the video wasn't dismissed
        if (response.reward != null)
        {
            int rewardAmount = response.reward.reward;
            txtStatus1.text = "Rewarded " + rewardAmount + (response.reward.currencyName != null ? " " + response.reward.currencyName : " credits");
        }
    }