public class AudienceSegmentCriteria extends CustomCriteriaLeaf
AudienceSegmentCriteria object is used to target AudienceSegment objects.
Java class for AudienceSegmentCriteria complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AudienceSegmentCriteria">
<complexContent>
<extension base="{https://www.google.com/apis/ads/publisher/v201708}CustomCriteriaLeaf">
<sequence>
<element name="operator" type="{https://www.google.com/apis/ads/publisher/v201708}AudienceSegmentCriteria.ComparisonOperator" minOccurs="0"/>
<element name="audienceSegmentIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Long> |
audienceSegmentIds |
protected AudienceSegmentCriteriaComparisonOperator |
operator |
| Constructor and Description |
|---|
AudienceSegmentCriteria() |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
getAudienceSegmentIds()
Gets the value of the audienceSegmentIds property.
|
AudienceSegmentCriteriaComparisonOperator |
getOperator()
Gets the value of the operator property.
|
void |
setOperator(AudienceSegmentCriteriaComparisonOperator value)
Sets the value of the operator property.
|
protected AudienceSegmentCriteriaComparisonOperator operator
public AudienceSegmentCriteriaComparisonOperator getOperator()
AudienceSegmentCriteriaComparisonOperatorpublic void setOperator(AudienceSegmentCriteriaComparisonOperator value)
value - allowed object is
AudienceSegmentCriteriaComparisonOperatorpublic List<Long> getAudienceSegmentIds()
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 audienceSegmentIds property.
For example, to add a new item, do as follows:
getAudienceSegmentIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
Copyright © 2018. All Rights Reserved.