public class CustomCriteriaSet extends CustomCriteriaNode
CustomCriteriaSet comprises of a set of CustomCriteriaNode
objects combined by the
CustomCriteriaSet.LogicalOperator#logicalOperator. The custom
criteria targeting tree is subject to the rules defined on
Targeting.customTargeting.
Java class for CustomCriteriaSet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CustomCriteriaSet">
<complexContent>
<extension base="{https://www.google.com/apis/ads/publisher/v201805}CustomCriteriaNode">
<sequence>
<element name="logicalOperator" type="{https://www.google.com/apis/ads/publisher/v201805}CustomCriteriaSet.LogicalOperator" minOccurs="0"/>
<element name="children" type="{https://www.google.com/apis/ads/publisher/v201805}CustomCriteriaNode" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CustomCriteriaNode> |
children |
protected CustomCriteriaSetLogicalOperator |
logicalOperator |
| Constructor and Description |
|---|
CustomCriteriaSet() |
| Modifier and Type | Method and Description |
|---|---|
List<CustomCriteriaNode> |
getChildren()
Gets the value of the children property.
|
CustomCriteriaSetLogicalOperator |
getLogicalOperator()
Gets the value of the logicalOperator property.
|
void |
setLogicalOperator(CustomCriteriaSetLogicalOperator value)
Sets the value of the logicalOperator property.
|
protected CustomCriteriaSetLogicalOperator logicalOperator
protected List<CustomCriteriaNode> children
public CustomCriteriaSetLogicalOperator getLogicalOperator()
CustomCriteriaSetLogicalOperatorpublic void setLogicalOperator(CustomCriteriaSetLogicalOperator value)
value - allowed object is
CustomCriteriaSetLogicalOperatorpublic List<CustomCriteriaNode> getChildren()
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 children property.
For example, to add a new item, do as follows:
getChildren().add(newItem);
Objects of the following type(s) are allowed in the list
CustomCriteriaNode
Copyright © 2018. All Rights Reserved.