public class CampaignCriterion extends Object
Java class for CampaignCriterion complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CampaignCriterion">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="campaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="isNegative" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="criterion" type="{https://adwords.google.com/api/adwords/cm/v201809}Criterion" minOccurs="0"/>
<element name="bidModifier" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="campaignCriterionStatus" type="{https://adwords.google.com/api/adwords/cm/v201809}CampaignCriterion.CampaignCriterionStatus" minOccurs="0"/>
<element name="baseCampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="forwardCompatibilityMap" type="{https://adwords.google.com/api/adwords/cm/v201809}String_StringMapEntry" maxOccurs="unbounded" minOccurs="0"/>
<element name="CampaignCriterion.Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
baseCampaignId |
protected Double |
bidModifier |
protected CampaignCriterionCampaignCriterionStatus |
campaignCriterionStatus |
protected String |
campaignCriterionType |
protected Long |
campaignId |
protected Criterion |
criterion |
protected List<StringStringMapEntry> |
forwardCompatibilityMap |
protected Boolean |
isNegative |
| Constructor and Description |
|---|
CampaignCriterion() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getBaseCampaignId()
Gets the value of the baseCampaignId property.
|
Double |
getBidModifier()
Gets the value of the bidModifier property.
|
CampaignCriterionCampaignCriterionStatus |
getCampaignCriterionStatus()
Gets the value of the campaignCriterionStatus property.
|
String |
getCampaignCriterionType()
Gets the value of the campaignCriterionType property.
|
Long |
getCampaignId()
Gets the value of the campaignId property.
|
Criterion |
getCriterion()
Gets the value of the criterion property.
|
List<StringStringMapEntry> |
getForwardCompatibilityMap()
Gets the value of the forwardCompatibilityMap property.
|
Boolean |
isIsNegative()
Gets the value of the isNegative property.
|
void |
setBaseCampaignId(Long value)
Sets the value of the baseCampaignId property.
|
void |
setBidModifier(Double value)
Sets the value of the bidModifier property.
|
void |
setCampaignCriterionStatus(CampaignCriterionCampaignCriterionStatus value)
Sets the value of the campaignCriterionStatus property.
|
void |
setCampaignCriterionType(String value)
Sets the value of the campaignCriterionType property.
|
void |
setCampaignId(Long value)
Sets the value of the campaignId property.
|
void |
setCriterion(Criterion value)
Sets the value of the criterion property.
|
void |
setIsNegative(Boolean value)
Sets the value of the isNegative property.
|
protected Long campaignId
protected Boolean isNegative
protected Criterion criterion
protected Double bidModifier
protected CampaignCriterionCampaignCriterionStatus campaignCriterionStatus
protected Long baseCampaignId
protected List<StringStringMapEntry> forwardCompatibilityMap
protected String campaignCriterionType
public Long getCampaignId()
Longpublic void setCampaignId(Long value)
value - allowed object is
Longpublic Boolean isIsNegative()
Booleanpublic void setIsNegative(Boolean value)
value - allowed object is
Booleanpublic Criterion getCriterion()
Criterionpublic void setCriterion(Criterion value)
value - allowed object is
Criterionpublic Double getBidModifier()
Doublepublic void setBidModifier(Double value)
value - allowed object is
Doublepublic CampaignCriterionCampaignCriterionStatus getCampaignCriterionStatus()
CampaignCriterionCampaignCriterionStatuspublic void setCampaignCriterionStatus(CampaignCriterionCampaignCriterionStatus value)
value - allowed object is
CampaignCriterionCampaignCriterionStatuspublic Long getBaseCampaignId()
Longpublic void setBaseCampaignId(Long value)
value - allowed object is
Longpublic List<StringStringMapEntry> getForwardCompatibilityMap()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the forwardCompatibilityMap property.
For example, to add a new item, do as follows:
getForwardCompatibilityMap().add(newItem);
Objects of the following type(s) are allowed in the list
StringStringMapEntry
public String getCampaignCriterionType()
StringCopyright © 2023. All rights reserved.