public void Init(string ad_unit_id) { if (_IsInited) { Debug.LogWarning("Init shoudl be called only once. Call ignored"); return; } _IsInited = true; _BannersUunitId = ad_unit_id; _InterstisialUnitId = ad_unit_id; _banners = new Dictionary <int, AndroidADBanner>(); AN_GoogleAdProxy.InitMobileAd(ad_unit_id); }
public void Init(string ad_unit_id) { if (_IsInited) { Debug.LogWarning("Init shoudl be called only once. Call ignored"); return; } _IsInited = true; _BannersUunitId = ad_unit_id; _InterstisialUnitId = ad_unit_id; _RewardedVideoAdUnitId = ad_unit_id; _banners = new Dictionary <int, AndroidADBanner>(); if (IsEditorTestingEnabled) { Debug.Log("Initialized with Editor Testing Profile"); SA_EditorAd.Instance.SetFillRate(_EditorFillRate); return; } AN_GoogleAdProxy.InitMobileAd(ad_unit_id); }