Пример #1
0
        public static ManagementResource.ExperimentsResource.ListRequest List(
            this ManagementResource.ExperimentsResource experiments)
        {
            var accountId     = WebConfigurationManager.AppSettings[Constants.AppSettings.GoogleAccountId];
            var webPropertyId = WebConfigurationManager.AppSettings[Constants.AppSettings.GoogleWebPropertyId];
            var profileId     = WebConfigurationManager.AppSettings[Constants.AppSettings.GoogleProfileId];

            return(experiments.List(accountId, webPropertyId, profileId));
        }
Пример #2
0
        public static ManagementResource.ExperimentsResource.ListRequest List(
            this ManagementResource.ExperimentsResource experiments, AnalyticsAccount config)
        {
            var accountId     = config.GoogleAccountId;
            var webPropertyId = config.GoogleWebPropertyId;
            var profileId     = config.GoogleProfileId;

            return(experiments.List(accountId, webPropertyId, profileId));
        }