public void CreateBanner(MoPubBase.AdPosition position)
 {
     this._bannerPlugin.Call("createBanner", new object[]
     {
         (int)position
     });
 }
Esempio n. 2
0
 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);
     }
 }
Esempio n. 3
0
 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);
     }
 }
Esempio n. 4
0
    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);
        }
    }
Esempio n. 5
0
 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);
 }
Esempio n. 7
0
 public static void CreateBanner(string adUnitId, MoPubBase.AdPosition position, MoPubBase.BannerType bannerType = MoPubBase.BannerType.Size320x50)
 {
 }
Esempio n. 8
0
 public void RequestBanner(string adUnitId, MoPubBase.AdPosition adPosition)
 {
     Debug.LogFormat("RequestBanner {0}", adUnitId);
     _adUnitId = adUnitId;
     MoPub.CreateBanner(adUnitId, adPosition);
 }