|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.v201109.cm.Experiment
public class Experiment
Class representing a experiment for the ExperimentService.
| Constructor Summary | |
|---|---|
Experiment()
|
|
Experiment(Long id,
Long controlId,
Long campaignId,
String name,
ExperimentStatus status,
ExperimentServingStatus servingStatus,
Integer queryPercentage,
String startDateTime,
String endDateTime,
String lastModifiedDateTime,
ExperimentSummaryStats experimentSummaryStats)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Long |
getCampaignId()
Gets the campaignId value for this Experiment. |
Long |
getControlId()
Gets the controlId value for this Experiment. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String |
getEndDateTime()
Gets the endDateTime value for this Experiment. |
ExperimentSummaryStats |
getExperimentSummaryStats()
Gets the experimentSummaryStats value for this Experiment. |
Long |
getId()
Gets the id value for this Experiment. |
String |
getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this Experiment. |
String |
getName()
Gets the name value for this Experiment. |
Integer |
getQueryPercentage()
Gets the queryPercentage value for this Experiment. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
ExperimentServingStatus |
getServingStatus()
Gets the servingStatus value for this Experiment. |
String |
getStartDateTime()
Gets the startDateTime value for this Experiment. |
ExperimentStatus |
getStatus()
Gets the status value for this Experiment. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setCampaignId(Long campaignId)
Sets the campaignId value for this Experiment. |
void |
setControlId(Long controlId)
Sets the controlId value for this Experiment. |
void |
setEndDateTime(String endDateTime)
Sets the endDateTime value for this Experiment. |
void |
setExperimentSummaryStats(ExperimentSummaryStats experimentSummaryStats)
Sets the experimentSummaryStats value for this Experiment. |
void |
setId(Long id)
Sets the id value for this Experiment. |
void |
setLastModifiedDateTime(String lastModifiedDateTime)
Sets the lastModifiedDateTime value for this Experiment. |
void |
setName(String name)
Sets the name value for this Experiment. |
void |
setQueryPercentage(Integer queryPercentage)
Sets the queryPercentage value for this Experiment. |
void |
setServingStatus(ExperimentServingStatus servingStatus)
Sets the servingStatus value for this Experiment. |
void |
setStartDateTime(String startDateTime)
Sets the startDateTime value for this Experiment. |
void |
setStatus(ExperimentStatus status)
Sets the status value for this Experiment. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Experiment()
public Experiment(Long id,
Long controlId,
Long campaignId,
String name,
ExperimentStatus status,
ExperimentServingStatus servingStatus,
Integer queryPercentage,
String startDateTime,
String endDateTime,
String lastModifiedDateTime,
ExperimentSummaryStats experimentSummaryStats)
| Method Detail |
|---|
public Long getId()
Operators : ADD.
If this field is sent to the API, it will be ignored.
This field is required
and should not be null when it is contained within Operators : SET.public void setId(Long id)
id - * This field can be selected
using the value "Id".This
field can be filtered on.
This field is read
only and should not be set for following Operators : ADD.
If this field is sent to the API, it will be ignored.
This field is required
and should not be null when it is contained within Operators : SET.public Long getControlId()
public void setControlId(Long controlId)
controlId - * The id of the control associated with this experiment
This field can
be selected using the value "ControlId".This field can be filtered on.
This field is read
only and should not be set. If this field is sent to the API, it
will be ignored.public Long getCampaignId()
null when it is contained within Operators : ADD.public void setCampaignId(Long campaignId)
campaignId - * This field can be selected
using the value "CampaignId".This
field can be filtered on.
This field is required
and should not be null when it is contained within Operators : ADD.public String getName()
null when it is contained within Operators : ADD.
This string
must not be empty.public void setName(String name)
name - * Experiment name.
This field can
be selected using the value "Name".This field can be filtered on.
This field is required
and should not be null when it is contained within Operators : ADD.
This string
must not be empty.public ExperimentStatus getStatus()
public void setStatus(ExperimentStatus status)
status - * Status of the experiment. For ADD, this can only be ACTIVE,
as nothing
else makes sense. Default is ACTIVE for ADDs where
this field is omitted.
This field can
be selected using the value "Status".This field can be filtered on.public ExperimentServingStatus getServingStatus()
public void setServingStatus(ExperimentServingStatus servingStatus)
servingStatus - * Serving status of the experiment.
This field can
be selected using the value "ServingStatus".
This field is read
only and should not be set. If this field is sent to the API, it
will be ignored.public Integer getQueryPercentage()
null when it is contained within Operators : ADD.public void setQueryPercentage(Integer queryPercentage)
queryPercentage - * The percentage of queries that will get routed to the experiment.
It is
also the percentage of budget that will be used for
the experiment. Valid
values for this field are 10, 20, 30, 40, 50, 60,
70, 80, 90.
This field can
be selected using the value "QueryPercentage".This field can be filtered on.
This field must be
between 0 and 100, inclusive.
This field is required
and should not be null when it is contained within Operators : ADD.public String getStartDateTime()
null indicates campaign start date is indefinitely
in the future.
This field can
be selected using the value "StartDateTime".This field can be filtered on.public void setStartDateTime(String startDateTime)
startDateTime - * Experiment started serving date;
null indicates campaign start date is indefinitely
in the future.
This field can
be selected using the value "StartDateTime".This field can be filtered on.public String getEndDateTime()
null indicates campaign
end date depends on start
date. If start date is null, this is undefined. If
start date is not null, this defaults
to 30 days after the start date.
This field can
be selected using the value "EndDateTime".This field can be filtered on.public void setEndDateTime(String endDateTime)
endDateTime - * Experiment ended serving date; null indicates campaign
end date depends on start
date. If start date is null, this is undefined. If
start date is not null, this defaults
to 30 days after the start date.
This field can
be selected using the value "EndDateTime".This field can be filtered on.public String getLastModifiedDateTime()
public void setLastModifiedDateTime(String lastModifiedDateTime)
lastModifiedDateTime - * The last time any change was made to this experiment, such
as adding a keyword to
the experiment only, adding a keyword to the control
only, or updating a bid modifier.
This field can
be selected using the value "LastModifiedDateTime".This field can be filtered on.
This field is read
only and should not be set. If this field is sent to the API, it
will be ignored.public ExperimentSummaryStats getExperimentSummaryStats()
public void setExperimentSummaryStats(ExperimentSummaryStats experimentSummaryStats)
experimentSummaryStats - * This field is read only and
should not be set. If this field is sent to the API, it will be ignored.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||