com.google.api.ads.adwords.v201109.cm
Class Experiment

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Experiment
All Implemented Interfaces:
Serializable

public class Experiment
extends Object
implements Serializable

Class representing a experiment for the ExperimentService.

See Also:
Serialized Form

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

Experiment

public Experiment()

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

getId

public Long getId()
Gets the id value for this Experiment.

Returns:
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.

setId

public void setId(Long id)
Sets the id value for this Experiment.

Parameters:
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.

getControlId

public Long getControlId()
Gets the controlId value for this Experiment.

Returns:
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.

setControlId

public void setControlId(Long controlId)
Sets the controlId value for this Experiment.

Parameters:
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.

getCampaignId

public Long getCampaignId()
Gets the campaignId value for this Experiment.

Returns:
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.

setCampaignId

public void setCampaignId(Long campaignId)
Sets the campaignId value for this Experiment.

Parameters:
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.

getName

public String getName()
Gets the name value for this Experiment.

Returns:
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.

setName

public void setName(String name)
Sets the name value for this Experiment.

Parameters:
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.

getStatus

public ExperimentStatus getStatus()
Gets the status value for this Experiment.

Returns:
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.

setStatus

public void setStatus(ExperimentStatus status)
Sets the status value for this Experiment.

Parameters:
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.

getServingStatus

public ExperimentServingStatus getServingStatus()
Gets the servingStatus value for this Experiment.

Returns:
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.

setServingStatus

public void setServingStatus(ExperimentServingStatus servingStatus)
Sets the servingStatus value for this Experiment.

Parameters:
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.

getQueryPercentage

public Integer getQueryPercentage()
Gets the queryPercentage value for this Experiment.

Returns:
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.

setQueryPercentage

public void setQueryPercentage(Integer queryPercentage)
Sets the queryPercentage value for this Experiment.

Parameters:
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.

getStartDateTime

public String getStartDateTime()
Gets the startDateTime value for this Experiment.

Returns:
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.

setStartDateTime

public void setStartDateTime(String startDateTime)
Sets the startDateTime value for this Experiment.

Parameters:
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.

getEndDateTime

public String getEndDateTime()
Gets the endDateTime value for this Experiment.

Returns:
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.

setEndDateTime

public void setEndDateTime(String endDateTime)
Sets the endDateTime value for this Experiment.

Parameters:
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.

getLastModifiedDateTime

public String getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this Experiment.

Returns:
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.

setLastModifiedDateTime

public void setLastModifiedDateTime(String lastModifiedDateTime)
Sets the lastModifiedDateTime value for this Experiment.

Parameters:
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.

getExperimentSummaryStats

public ExperimentSummaryStats getExperimentSummaryStats()
Gets the experimentSummaryStats value for this Experiment.

Returns:
experimentSummaryStats * This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setExperimentSummaryStats

public void setExperimentSummaryStats(ExperimentSummaryStats experimentSummaryStats)
Sets the experimentSummaryStats value for this Experiment.

Parameters:
experimentSummaryStats - * This field is read only and should not be set. If this field is sent to the API, it will be ignored.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.