示例#1
0
        protected override void PopulateAdManager()
        {
            base.PopulateAdManager();

            // Register 1 BigBox ad
            AdUnits.Add(AdManagerModel.Register(AdType.BigBox));
        }
示例#2
0
        protected virtual void PopulateAdManager()
        {
            // register first AD (leaderboard)
            AdUnits.Add(AdManagerModel.Register(AdType.Leaderboard));

            AdManagerModel.AddSetting("site", "betterswing");
            AdManagerModel.AddSetting("network", "test");
            AdManagerModel.AddSetting("page", "show");
            //AdSettings.KeyValuePairs.Add("section", "show");
            //AdSettings.KeyValuePairs.Add("liveinsite", "show");
        }