| Package | Description |
|---|---|
| com.google.api.services.analytics | |
| com.google.api.services.analytics.model |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Management.Experiments.Insert |
Analytics.Management.Experiments.insert(String accountId,
String webPropertyId,
String profileId,
Experiment content)
Create a new experiment.
|
Analytics.Management.Experiments.Patch |
Analytics.Management.Experiments.patch(String accountId,
String webPropertyId,
String profileId,
String experimentId,
Experiment content)
Update an existing experiment.
|
Analytics.Management.Experiments.Update |
Analytics.Management.Experiments.update(String accountId,
String webPropertyId,
String profileId,
String experimentId,
Experiment content)
Update an existing experiment.
|
| Constructor and Description |
|---|
Insert(String accountId,
String webPropertyId,
String profileId,
Experiment content)
Create a new experiment.
|
Patch(String accountId,
String webPropertyId,
String profileId,
String experimentId,
Experiment content)
Update an existing experiment.
|
Update(String accountId,
String webPropertyId,
String profileId,
String experimentId,
Experiment content)
Update an existing experiment.
|
| Modifier and Type | Method and Description |
|---|---|
Experiment |
Experiment.clone() |
Experiment |
Experiment.set(String fieldName,
Object value) |
Experiment |
Experiment.setAccountId(String accountId)
Account ID to which this experiment belongs.
|
Experiment |
Experiment.setCreated(DateTime created)
Time the experiment was created.
|
Experiment |
Experiment.setDescription(String description)
Notes about this experiment.
|
Experiment |
Experiment.setEditableInGaUi(Boolean editableInGaUi)
If true, the end user will be able to edit the experiment via the Google Analytics user
interface.
|
Experiment |
Experiment.setEndTime(DateTime endTime)
The ending time of the experiment (the time the status changed from RUNNING to ENDED).
|
Experiment |
Experiment.setEqualWeighting(Boolean equalWeighting)
Boolean specifying whether to distribute traffic evenly across all variations.
|
Experiment |
Experiment.setId(String id)
Experiment ID.
|
Experiment |
Experiment.setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for the web property to which this experiment belongs.
|
Experiment |
Experiment.setKind(String kind)
Resource type for an Analytics experiment.
|
Experiment |
Experiment.setMinimumExperimentLengthInDays(Integer minimumExperimentLengthInDays)
An integer number in [3, 90].
|
Experiment |
Experiment.setName(String name)
Experiment name.
|
Experiment |
Experiment.setObjectiveMetric(String objectiveMetric)
The metric that the experiment is optimizing.
|
Experiment |
Experiment.setOptimizationType(String optimizationType)
Whether the objectiveMetric should be minimized or maximized.
|
Experiment |
Experiment.setParentLink(Experiment.ParentLink parentLink)
Parent link for an experiment.
|
Experiment |
Experiment.setProfileId(String profileId)
View (Profile) ID to which this experiment belongs.
|
Experiment |
Experiment.setReasonExperimentEnded(String reasonExperimentEnded)
Why the experiment ended.
|
Experiment |
Experiment.setRewriteVariationUrlsAsOriginal(Boolean rewriteVariationUrlsAsOriginal)
Boolean specifying whether variations URLS are rewritten to match those of the original.
|
Experiment |
Experiment.setSelfLink(String selfLink)
Link for this experiment.
|
Experiment |
Experiment.setServingFramework(String servingFramework)
The framework used to serve the experiment variations and evaluate the results.
|
Experiment |
Experiment.setSnippet(String snippet)
The snippet of code to include on the control page(s).
|
Experiment |
Experiment.setStartTime(DateTime startTime)
The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING).
|
Experiment |
Experiment.setStatus(String status)
Experiment status.
|
Experiment |
Experiment.setTrafficCoverage(Double trafficCoverage)
A floating-point number in (0, 1].
|
Experiment |
Experiment.setUpdated(DateTime updated)
Time the experiment was last modified.
|
Experiment |
Experiment.setVariations(List<Experiment.Variations> variations)
Array of variations.
|
Experiment |
Experiment.setWebPropertyId(String webPropertyId)
Web property ID to which this experiment belongs.
|
Experiment |
Experiment.setWinnerConfidenceLevel(Double winnerConfidenceLevel)
A floating-point number in (0, 1).
|
Experiment |
Experiment.setWinnerFound(Boolean winnerFound)
Boolean specifying whether a winner has been found for this experiment.
|
| Modifier and Type | Method and Description |
|---|---|
List<Experiment> |
Experiments.getItems()
A list of experiments.
|
| Modifier and Type | Method and Description |
|---|---|
Experiments |
Experiments.setItems(List<Experiment> items)
A list of experiments.
|
Copyright © 2011–2022 Google. All rights reserved.