public static ManagementResource.ExperimentsResource.PatchRequest Patch(this ManagementResource.ExperimentsResource experiments, GoogleExperiment experiment) { var accountId = WebConfigurationManager.AppSettings[Constants.AppSettings.GoogleAccountId]; var webPropertyId = WebConfigurationManager.AppSettings[Constants.AppSettings.GoogleWebPropertyId]; var profileId = WebConfigurationManager.AppSettings[Constants.AppSettings.GoogleProfileId]; return(experiments.Patch(experiment, accountId, webPropertyId, profileId, experiment.Id)); }
public static ManagementResource.ExperimentsResource.DeleteRequest Delete(this ManagementResource.ExperimentsResource experiments, string experimentId) { var accountId = WebConfigurationManager.AppSettings[Constants.AppSettings.GoogleAccountId]; var webPropertyId = WebConfigurationManager.AppSettings[Constants.AppSettings.GoogleWebPropertyId]; var profileId = WebConfigurationManager.AppSettings[Constants.AppSettings.GoogleProfileId]; return(experiments.Delete(accountId, webPropertyId, profileId, experimentId)); }
public static ManagementResource.ExperimentsResource.DeleteRequest Delete(this ManagementResource.ExperimentsResource experiments, AnalyticsAccount config, string experimentId) { var accountId = config.GoogleAccountId; var webPropertyId = config.GoogleWebPropertyId; var profileId = config.GoogleProfileId; return(experiments.Delete(accountId, webPropertyId, profileId, experimentId)); }
public static ManagementResource.ExperimentsResource.PatchRequest Patch(this ManagementResource.ExperimentsResource experiments, AnalyticsAccount config, GoogleExperiment experiment) { var accountId = config.GoogleAccountId; var webPropertyId = config.GoogleWebPropertyId; var profileId = config.GoogleProfileId; return(experiments.Patch(experiment, accountId, webPropertyId, profileId, experiment.Id)); }
public static ManagementResource.ExperimentsResource.InsertRequest Insert(this ManagementResource.ExperimentsResource experiments, AccountConfig config, GoogleExperiment experiment) { var accountId = config.GoogleAccountId; var webPropertyId = config.GoogleWebPropertyId; var profileId = config.GoogleProfileId; return(experiments.Insert(experiment, accountId, webPropertyId, profileId)); }
public static ManagementResource.ExperimentsResource.GetRequest Get(this ManagementResource.ExperimentsResource experiments, AccountConfig config, string experimentId) { var accountId = config.GoogleAccountId; var webPropertyId = config.GoogleWebPropertyId; var profileId = config.GoogleProfileId; return(experiments.Get(accountId, webPropertyId, profileId, experimentId)); }
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)); }