public class AdGroupCriterionOperation extends Operation
If you try to ADD a criterion that already exists, it will be treated as a SET operation on the existing criterion.
Java class for AdGroupCriterionOperation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdGroupCriterionOperation">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Operation">
<sequence>
<element name="operand" type="{https://adwords.google.com/api/adwords/cm/v201809}AdGroupCriterion" minOccurs="0"/>
<element name="exemptionRequests" type="{https://adwords.google.com/api/adwords/cm/v201809}ExemptionRequest" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ExemptionRequest> |
exemptionRequests |
protected AdGroupCriterion |
operand |
operationType, operator| Constructor and Description |
|---|
AdGroupCriterionOperation() |
| Modifier and Type | Method and Description |
|---|---|
List<ExemptionRequest> |
getExemptionRequests()
Gets the value of the exemptionRequests property.
|
AdGroupCriterion |
getOperand()
Gets the value of the operand property.
|
void |
setOperand(AdGroupCriterion value)
Sets the value of the operand property.
|
getOperationType, getOperator, setOperationType, setOperatorprotected AdGroupCriterion operand
protected List<ExemptionRequest> exemptionRequests
public AdGroupCriterion getOperand()
AdGroupCriterionpublic void setOperand(AdGroupCriterion value)
value - allowed object is
AdGroupCriterionpublic List<ExemptionRequest> getExemptionRequests()
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 exemptionRequests property.
For example, to add a new item, do as follows:
getExemptionRequests().add(newItem);
Objects of the following type(s) are allowed in the list
ExemptionRequest
Copyright © 2023. All rights reserved.