/// <summary>
        /// Creates a BannerView and adds it to the view hierarchy.
        /// </summary>
        /// <param name="placementId">Placement identifier.</param>
        /// <param name="channelId">Channel identifier.</param>
        /// <param name="versionId">Version identifier.</param>
        /// <param name="bannerOptions">Banner options.</param>
        public YumiBannerView(string placementId, string channelId, string versionId, YumiBannerViewOptions bannerOptions)
        {
            client             = YumiAdsClientFactory.BuildBannerClient();
            this.bannerOptions = bannerOptions;
            client.CreateBannerView(placementId, channelId, versionId, bannerOptions);

            ConfigureBannerEvents();
        }
        // Creates a BannerView and adds it to the view hierarchy.
        public YumiBannerView(string placementId, string channelId, string versionId, YumiAdPosition adPosition)
        {
            Type yumiAdsClientFactory = Type.GetType(
                "YumiMediationSDK.YumiAdsClientFactory,Assembly-CSharp");
            MethodInfo method = yumiAdsClientFactory.GetMethod(
                "BuildBannerClient",
                BindingFlags.Static | BindingFlags.Public);

            this.client = (IYumiBannerClient)method.Invoke(null, null);
            client.CreateBannerView(placementId, channelId, versionId, adPosition);

            ConfigureBannerEvents();
        }