public class AudienceSegment extends Object
AudienceSegment represents audience segment object.
Java class for AudienceSegment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AudienceSegment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="categoryIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201802}AudienceSegment.Status" minOccurs="0"/>
<element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="mobileWebSize" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="idfaSize" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="adIdSize" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="ppidSize" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="dataProvider" type="{https://www.google.com/apis/ads/publisher/v201802}AudienceSegmentDataProvider" minOccurs="0"/>
<element name="type" type="{https://www.google.com/apis/ads/publisher/v201802}AudienceSegment.Type" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
adIdSize |
protected List<Long> |
categoryIds |
protected AudienceSegmentDataProvider |
dataProvider |
protected String |
description |
protected Long |
id |
protected Long |
idfaSize |
protected Long |
mobileWebSize |
protected String |
name |
protected Long |
ppidSize |
protected Long |
size |
protected AudienceSegmentStatus |
status |
protected AudienceSegmentType |
type |
| Constructor and Description |
|---|
AudienceSegment() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAdIdSize()
Gets the value of the adIdSize property.
|
List<Long> |
getCategoryIds()
Gets the value of the categoryIds property.
|
AudienceSegmentDataProvider |
getDataProvider()
Gets the value of the dataProvider property.
|
String |
getDescription()
Gets the value of the description property.
|
Long |
getId()
Gets the value of the id property.
|
Long |
getIdfaSize()
Gets the value of the idfaSize property.
|
Long |
getMobileWebSize()
Gets the value of the mobileWebSize property.
|
String |
getName()
Gets the value of the name property.
|
Long |
getPpidSize()
Gets the value of the ppidSize property.
|
Long |
getSize()
Gets the value of the size property.
|
AudienceSegmentStatus |
getStatus()
Gets the value of the status property.
|
AudienceSegmentType |
getType()
Gets the value of the type property.
|
void |
setAdIdSize(Long value)
Sets the value of the adIdSize property.
|
void |
setDataProvider(AudienceSegmentDataProvider value)
Sets the value of the dataProvider property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setIdfaSize(Long value)
Sets the value of the idfaSize property.
|
void |
setMobileWebSize(Long value)
Sets the value of the mobileWebSize property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPpidSize(Long value)
Sets the value of the ppidSize property.
|
void |
setSize(Long value)
Sets the value of the size property.
|
void |
setStatus(AudienceSegmentStatus value)
Sets the value of the status property.
|
void |
setType(AudienceSegmentType value)
Sets the value of the type property.
|
protected Long id
protected String name
protected String description
protected AudienceSegmentStatus status
protected Long size
protected Long mobileWebSize
protected Long idfaSize
protected Long adIdSize
protected Long ppidSize
protected AudienceSegmentDataProvider dataProvider
protected AudienceSegmentType type
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic List<Long> getCategoryIds()
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 categoryIds property.
For example, to add a new item, do as follows:
getCategoryIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic AudienceSegmentStatus getStatus()
AudienceSegmentStatuspublic void setStatus(AudienceSegmentStatus value)
value - allowed object is
AudienceSegmentStatuspublic void setSize(Long value)
value - allowed object is
Longpublic Long getMobileWebSize()
Longpublic void setMobileWebSize(Long value)
value - allowed object is
Longpublic Long getIdfaSize()
Longpublic void setIdfaSize(Long value)
value - allowed object is
Longpublic Long getAdIdSize()
Longpublic void setAdIdSize(Long value)
value - allowed object is
Longpublic Long getPpidSize()
Longpublic void setPpidSize(Long value)
value - allowed object is
Longpublic AudienceSegmentDataProvider getDataProvider()
AudienceSegmentDataProviderpublic void setDataProvider(AudienceSegmentDataProvider value)
value - allowed object is
AudienceSegmentDataProviderpublic AudienceSegmentType getType()
AudienceSegmentTypepublic void setType(AudienceSegmentType value)
value - allowed object is
AudienceSegmentTypeCopyright © 2018. All Rights Reserved.