public class Trial extends Object
Java class for Trial complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Trial">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="baseCampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="draftId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="budgetId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="startDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="endDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="trafficSplitPercent" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="trafficSplitType" type="{https://adwords.google.com/api/adwords/cm/v201809}CampaignTrialTrafficSplitType" minOccurs="0"/>
<element name="status" type="{https://adwords.google.com/api/adwords/cm/v201809}TrialStatus" minOccurs="0"/>
<element name="trialCampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
baseCampaignId |
protected Long |
budgetId |
protected Long |
draftId |
protected String |
endDate |
protected Long |
id |
protected String |
name |
protected String |
startDate |
protected TrialStatus |
status |
protected Integer |
trafficSplitPercent |
protected CampaignTrialTrafficSplitType |
trafficSplitType |
protected Long |
trialCampaignId |
| Constructor and Description |
|---|
Trial() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getBaseCampaignId()
Gets the value of the baseCampaignId property.
|
Long |
getBudgetId()
Gets the value of the budgetId property.
|
Long |
getDraftId()
Gets the value of the draftId property.
|
String |
getEndDate()
Gets the value of the endDate property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
String |
getStartDate()
Gets the value of the startDate property.
|
TrialStatus |
getStatus()
Gets the value of the status property.
|
Integer |
getTrafficSplitPercent()
Gets the value of the trafficSplitPercent property.
|
CampaignTrialTrafficSplitType |
getTrafficSplitType()
Gets the value of the trafficSplitType property.
|
Long |
getTrialCampaignId()
Gets the value of the trialCampaignId property.
|
void |
setBaseCampaignId(Long value)
Sets the value of the baseCampaignId property.
|
void |
setBudgetId(Long value)
Sets the value of the budgetId property.
|
void |
setDraftId(Long value)
Sets the value of the draftId property.
|
void |
setEndDate(String value)
Sets the value of the endDate property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStartDate(String value)
Sets the value of the startDate property.
|
void |
setStatus(TrialStatus value)
Sets the value of the status property.
|
void |
setTrafficSplitPercent(Integer value)
Sets the value of the trafficSplitPercent property.
|
void |
setTrafficSplitType(CampaignTrialTrafficSplitType value)
Sets the value of the trafficSplitType property.
|
void |
setTrialCampaignId(Long value)
Sets the value of the trialCampaignId property.
|
protected Long id
protected Long baseCampaignId
protected Long draftId
protected Long budgetId
protected String name
protected String startDate
protected String endDate
protected Integer trafficSplitPercent
protected CampaignTrialTrafficSplitType trafficSplitType
protected TrialStatus status
protected Long trialCampaignId
public void setId(Long value)
value - allowed object is
Longpublic Long getBaseCampaignId()
Longpublic void setBaseCampaignId(Long value)
value - allowed object is
Longpublic Long getDraftId()
Longpublic void setDraftId(Long value)
value - allowed object is
Longpublic Long getBudgetId()
Longpublic void setBudgetId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getStartDate()
Stringpublic void setStartDate(String value)
value - allowed object is
Stringpublic String getEndDate()
Stringpublic void setEndDate(String value)
value - allowed object is
Stringpublic Integer getTrafficSplitPercent()
Integerpublic void setTrafficSplitPercent(Integer value)
value - allowed object is
Integerpublic CampaignTrialTrafficSplitType getTrafficSplitType()
CampaignTrialTrafficSplitTypepublic void setTrafficSplitType(CampaignTrialTrafficSplitType value)
value - allowed object is
CampaignTrialTrafficSplitTypepublic TrialStatus getStatus()
TrialStatuspublic void setStatus(TrialStatus value)
value - allowed object is
TrialStatuspublic Long getTrialCampaignId()
LongCopyright © 2023. All rights reserved.