public void CreateBanner(MoPubBase.AdPosition position) { this._bannerPlugin.Call("createBanner", new object[] { (int)position }); }
public static void CreateBanner(string adUnitId, MoPubBase.AdPosition position) { MoPubLog.Log("CreateBanner", "Attempting to load ad", Array.Empty <object>()); if (BannerPluginsDict.TryGetValue(adUnitId, out MoPubAndroidBanner banner)) { banner.CreateBanner(position); } else { MoPubBase.ReportAdUnitNotFound(adUnitId); } }
public static void CreateBanner(string adUnitId, MoPubBase.AdPosition position, MoPubBase.BannerType bannerType = 0) { MoPubLog.Log("CreateBanner", "Attempting to load ad", Array.Empty <object>()); if (PluginsDict.TryGetValue(adUnitId, out MoPubBinding binding)) { binding.CreateBanner(bannerType, position); } else { MoPubBase.ReportAdUnitNotFound(adUnitId); } }
public static void CreateBanner(string adUnitId, MoPubBase.AdPosition position) { MoPubAndroidBanner moPubAndroidBanner; if (MoPubAndroid.BannerPluginsDict.TryGetValue(adUnitId, out moPubAndroidBanner)) { moPubAndroidBanner.CreateBanner(position); } else { MoPubBase.ReportAdUnitNotFound(adUnitId); } }
public void CreateBanner(MoPubBase.BannerType bannerType, MoPubBase.AdPosition position) { _moPubCreateBanner((int)bannerType, (int)position, _adUnitId); }
public void CreateBanner(MoPubBase.AdPosition position) { _bannerPlugin.Call("createBanner", (int)position); }
public static void CreateBanner(string adUnitId, MoPubBase.AdPosition position, MoPubBase.BannerType bannerType = MoPubBase.BannerType.Size320x50) { }
public void RequestBanner(string adUnitId, MoPubBase.AdPosition adPosition) { Debug.LogFormat("RequestBanner {0}", adUnitId); _adUnitId = adUnitId; MoPub.CreateBanner(adUnitId, adPosition); }