Advertisement.Initialize() is counting as an Ad Request?

Hi,

I’m initializing the Unity Ads at each start of the level. And if player plays 10 times on any scene, a video ad is showing up. Works great. But i got weird results;

I got 300 Ad requests,
Videos Started = 19,

Should I initialize Unity Ads only if player hits 10 times of playcount?

Thanks,
Bugra

You should only initialize Unity Ads once in your game.

You can check if Unity Ads is already enabled before attempting to enable again:

using UnityEngine;
using System.Collections;
using UnityEngine.Advertisements;

public class UnityAdsInitExample : MonoBehaviour
{
    public string gameID;
    public bool enableTestMode;

    void Start ()
    {
        if (string.IsNullOrEmpty(gameID))
        {
            Debug.LogError("Unable to initialize Unity Ads without a valid Game ID.");
        }
        if (Advertisement.isInitialized)
        {
            Debug.LogWarning("Unity Ads is already initialized.");
        }
        else
        {
            Debug.Log(string.Format("Initializing Unity Ads for game ID {0} with test mode {1}.",
                                    gameID, enableTestMode ? "enabled" : "disabled"));
      
            Advertisement.Initialize(gameID,enableTestMode);
        }
    }
}