public class AdGroupCriterion extends Object
Java class for AdGroupCriterion complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdGroupCriterion">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="adGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="criterionUse" type="{https://adwords.google.com/api/adwords/cm/v201809}CriterionUse" minOccurs="0"/>
<element name="criterion" type="{https://adwords.google.com/api/adwords/cm/v201809}Criterion" minOccurs="0"/>
<element name="labels" type="{https://adwords.google.com/api/adwords/cm/v201809}Label" maxOccurs="unbounded" minOccurs="0"/>
<element name="forwardCompatibilityMap" type="{https://adwords.google.com/api/adwords/cm/v201809}String_StringMapEntry" maxOccurs="unbounded" minOccurs="0"/>
<element name="baseCampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="baseAdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="AdGroupCriterion.Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
adGroupCriterionType |
protected Long |
adGroupId |
protected Long |
baseAdGroupId |
protected Long |
baseCampaignId |
protected Criterion |
criterion |
protected CriterionUse |
criterionUse |
protected List<StringStringMapEntry> |
forwardCompatibilityMap |
protected List<Label> |
labels |
| Constructor and Description |
|---|
AdGroupCriterion() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdGroupCriterionType()
Gets the value of the adGroupCriterionType property.
|
Long |
getAdGroupId()
Gets the value of the adGroupId property.
|
Long |
getBaseAdGroupId()
Gets the value of the baseAdGroupId property.
|
Long |
getBaseCampaignId()
Gets the value of the baseCampaignId property.
|
Criterion |
getCriterion()
Gets the value of the criterion property.
|
CriterionUse |
getCriterionUse()
Gets the value of the criterionUse property.
|
List<StringStringMapEntry> |
getForwardCompatibilityMap()
Gets the value of the forwardCompatibilityMap property.
|
List<Label> |
getLabels()
Gets the value of the labels property.
|
void |
setAdGroupCriterionType(String value)
Sets the value of the adGroupCriterionType property.
|
void |
setAdGroupId(Long value)
Sets the value of the adGroupId property.
|
void |
setBaseAdGroupId(Long value)
Sets the value of the baseAdGroupId property.
|
void |
setBaseCampaignId(Long value)
Sets the value of the baseCampaignId property.
|
void |
setCriterion(Criterion value)
Sets the value of the criterion property.
|
void |
setCriterionUse(CriterionUse value)
Sets the value of the criterionUse property.
|
protected Long adGroupId
protected CriterionUse criterionUse
protected Criterion criterion
protected List<StringStringMapEntry> forwardCompatibilityMap
protected Long baseCampaignId
protected Long baseAdGroupId
protected String adGroupCriterionType
public Long getAdGroupId()
Longpublic void setAdGroupId(Long value)
value - allowed object is
Longpublic CriterionUse getCriterionUse()
CriterionUsepublic void setCriterionUse(CriterionUse value)
value - allowed object is
CriterionUsepublic Criterion getCriterion()
Criterionpublic void setCriterion(Criterion value)
value - allowed object is
Criterionpublic List<Label> getLabels()
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 labels property.
For example, to add a new item, do as follows:
getLabels().add(newItem);
Objects of the following type(s) are allowed in the list
Label
public 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 Long getBaseCampaignId()
Longpublic void setBaseCampaignId(Long value)
value - allowed object is
Longpublic Long getBaseAdGroupId()
Longpublic void setBaseAdGroupId(Long value)
value - allowed object is
Longpublic String getAdGroupCriterionType()
StringCopyright © 2023. All rights reserved.