Exemple #1
0
 public static void LoadBannerPluginsForAdUnits(string[] bannerAdUnitIds)
 {
     foreach (string str in bannerAdUnitIds)
     {
         BannerPluginsDict[str] = new MoPubAndroidBanner(str);
     }
     Debug.Log(bannerAdUnitIds.Length + " banner AdUnits loaded for plugins:\n" + string.Join(", ", bannerAdUnitIds));
 }
Exemple #2
0
    /// See MoPubUnityEditor.<see cref="MoPubUnityEditor.LoadBannerPluginsForAdUnits(string[])"/>
    public static void LoadBannerPluginsForAdUnits(string[] bannerAdUnitIds)
    {
        foreach (var bannerAdUnitId in bannerAdUnitIds)
        {
            BannerPluginsDict[bannerAdUnitId] = new MPBanner(bannerAdUnitId);
        }

        Debug.Log(
            bannerAdUnitIds.Length + " banner AdUnits loaded for plugins:\n" + string.Join(", ", bannerAdUnitIds));
    }