protected override void PopulateAdManager() { base.PopulateAdManager(); // Register 1 BigBox ad AdUnits.Add(AdManagerModel.Register(AdType.BigBox)); }
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"); }