Ejemplo n.º 1
0
        protected override void PopulateAdManager()
        {
            base.PopulateAdManager();

            // Register 1 BigBox ad
            AdUnits.Add(AdManagerModel.Register(AdType.BigBox));
        }
Ejemplo n.º 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");
        }