public class ProductSegmentation extends Object
For example, a product with 3 segmentations with only 1 segment for each will produce
1 x 1 x 1 = 1 product.
A product with 3 segmentations with 2 segments for each will produce 2 x 2 x 2 = 8
products.
Java class for ProductSegmentation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ProductSegmentation">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="geoSegment" type="{https://www.google.com/apis/ads/publisher/v201805}GeoTargeting" minOccurs="0"/>
<element name="adUnitSegments" type="{https://www.google.com/apis/ads/publisher/v201805}AdUnitTargeting" maxOccurs="unbounded" minOccurs="0"/>
<element name="placementSegment" type="{https://www.google.com/apis/ads/publisher/v201805}PlacementTargeting" minOccurs="0"/>
<element name="customTargetingSegment" type="{https://www.google.com/apis/ads/publisher/v201805}CustomCriteria" maxOccurs="unbounded" minOccurs="0"/>
<element name="userDomainSegment" type="{https://www.google.com/apis/ads/publisher/v201805}UserDomainTargeting" minOccurs="0"/>
<element name="bandwidthSegment" type="{https://www.google.com/apis/ads/publisher/v201805}BandwidthGroupTargeting" minOccurs="0"/>
<element name="browserSegment" type="{https://www.google.com/apis/ads/publisher/v201805}BrowserTargeting" minOccurs="0"/>
<element name="browserLanguageSegment" type="{https://www.google.com/apis/ads/publisher/v201805}BrowserLanguageTargeting" minOccurs="0"/>
<element name="operatingSystemSegment" type="{https://www.google.com/apis/ads/publisher/v201805}OperatingSystemTargeting" minOccurs="0"/>
<element name="operatingSystemVersionSegment" type="{https://www.google.com/apis/ads/publisher/v201805}OperatingSystemVersionTargeting" minOccurs="0"/>
<element name="mobileCarrierSegment" type="{https://www.google.com/apis/ads/publisher/v201805}MobileCarrierTargeting" minOccurs="0"/>
<element name="deviceCapabilitySegment" type="{https://www.google.com/apis/ads/publisher/v201805}DeviceCapabilityTargeting" minOccurs="0"/>
<element name="deviceCategorySegment" type="{https://www.google.com/apis/ads/publisher/v201805}DeviceCategoryTargeting" minOccurs="0"/>
<element name="deviceManufacturerSegment" type="{https://www.google.com/apis/ads/publisher/v201805}DeviceManufacturerTargeting" minOccurs="0"/>
<element name="mobileDeviceSegment" type="{https://www.google.com/apis/ads/publisher/v201805}MobileDeviceTargeting" minOccurs="0"/>
<element name="mobileDeviceSubmodelSegment" type="{https://www.google.com/apis/ads/publisher/v201805}MobileDeviceSubmodelTargeting" minOccurs="0"/>
<element name="sizeSegment" type="{https://www.google.com/apis/ads/publisher/v201805}CreativePlaceholder" maxOccurs="unbounded" minOccurs="0"/>
<element name="mobileApplicationSegment" type="{https://www.google.com/apis/ads/publisher/v201805}MobileApplicationTargeting" minOccurs="0"/>
<element name="videoPositionSegment" type="{https://www.google.com/apis/ads/publisher/v201805}VideoPositionTargeting" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
ProductSegmentation() |
| Modifier and Type | Method and Description |
|---|---|
List<AdUnitTargeting> |
getAdUnitSegments()
Gets the value of the adUnitSegments property.
|
BandwidthGroupTargeting |
getBandwidthSegment()
Gets the value of the bandwidthSegment property.
|
BrowserLanguageTargeting |
getBrowserLanguageSegment()
Gets the value of the browserLanguageSegment property.
|
BrowserTargeting |
getBrowserSegment()
Gets the value of the browserSegment property.
|
List<CustomCriteria> |
getCustomTargetingSegment()
Gets the value of the customTargetingSegment property.
|
DeviceCapabilityTargeting |
getDeviceCapabilitySegment()
Gets the value of the deviceCapabilitySegment property.
|
DeviceCategoryTargeting |
getDeviceCategorySegment()
Gets the value of the deviceCategorySegment property.
|
DeviceManufacturerTargeting |
getDeviceManufacturerSegment()
Gets the value of the deviceManufacturerSegment property.
|
GeoTargeting |
getGeoSegment()
Gets the value of the geoSegment property.
|
MobileApplicationTargeting |
getMobileApplicationSegment()
Gets the value of the mobileApplicationSegment property.
|
MobileCarrierTargeting |
getMobileCarrierSegment()
Gets the value of the mobileCarrierSegment property.
|
MobileDeviceTargeting |
getMobileDeviceSegment()
Gets the value of the mobileDeviceSegment property.
|
MobileDeviceSubmodelTargeting |
getMobileDeviceSubmodelSegment()
Gets the value of the mobileDeviceSubmodelSegment property.
|
OperatingSystemTargeting |
getOperatingSystemSegment()
Gets the value of the operatingSystemSegment property.
|
OperatingSystemVersionTargeting |
getOperatingSystemVersionSegment()
Gets the value of the operatingSystemVersionSegment property.
|
PlacementTargeting |
getPlacementSegment()
Gets the value of the placementSegment property.
|
List<CreativePlaceholder> |
getSizeSegment()
Gets the value of the sizeSegment property.
|
UserDomainTargeting |
getUserDomainSegment()
Gets the value of the userDomainSegment property.
|
VideoPositionTargeting |
getVideoPositionSegment()
Gets the value of the videoPositionSegment property.
|
void |
setBandwidthSegment(BandwidthGroupTargeting value)
Sets the value of the bandwidthSegment property.
|
void |
setBrowserLanguageSegment(BrowserLanguageTargeting value)
Sets the value of the browserLanguageSegment property.
|
void |
setBrowserSegment(BrowserTargeting value)
Sets the value of the browserSegment property.
|
void |
setDeviceCapabilitySegment(DeviceCapabilityTargeting value)
Sets the value of the deviceCapabilitySegment property.
|
void |
setDeviceCategorySegment(DeviceCategoryTargeting value)
Sets the value of the deviceCategorySegment property.
|
void |
setDeviceManufacturerSegment(DeviceManufacturerTargeting value)
Sets the value of the deviceManufacturerSegment property.
|
void |
setGeoSegment(GeoTargeting value)
Sets the value of the geoSegment property.
|
void |
setMobileApplicationSegment(MobileApplicationTargeting value)
Sets the value of the mobileApplicationSegment property.
|
void |
setMobileCarrierSegment(MobileCarrierTargeting value)
Sets the value of the mobileCarrierSegment property.
|
void |
setMobileDeviceSegment(MobileDeviceTargeting value)
Sets the value of the mobileDeviceSegment property.
|
void |
setMobileDeviceSubmodelSegment(MobileDeviceSubmodelTargeting value)
Sets the value of the mobileDeviceSubmodelSegment property.
|
void |
setOperatingSystemSegment(OperatingSystemTargeting value)
Sets the value of the operatingSystemSegment property.
|
void |
setOperatingSystemVersionSegment(OperatingSystemVersionTargeting value)
Sets the value of the operatingSystemVersionSegment property.
|
void |
setPlacementSegment(PlacementTargeting value)
Sets the value of the placementSegment property.
|
void |
setUserDomainSegment(UserDomainTargeting value)
Sets the value of the userDomainSegment property.
|
void |
setVideoPositionSegment(VideoPositionTargeting value)
Sets the value of the videoPositionSegment property.
|
protected GeoTargeting geoSegment
protected List<AdUnitTargeting> adUnitSegments
protected PlacementTargeting placementSegment
protected List<CustomCriteria> customTargetingSegment
protected UserDomainTargeting userDomainSegment
protected BandwidthGroupTargeting bandwidthSegment
protected BrowserTargeting browserSegment
protected BrowserLanguageTargeting browserLanguageSegment
protected OperatingSystemTargeting operatingSystemSegment
protected OperatingSystemVersionTargeting operatingSystemVersionSegment
protected MobileCarrierTargeting mobileCarrierSegment
protected DeviceCapabilityTargeting deviceCapabilitySegment
protected DeviceCategoryTargeting deviceCategorySegment
protected DeviceManufacturerTargeting deviceManufacturerSegment
protected MobileDeviceTargeting mobileDeviceSegment
protected MobileDeviceSubmodelTargeting mobileDeviceSubmodelSegment
protected List<CreativePlaceholder> sizeSegment
protected MobileApplicationTargeting mobileApplicationSegment
protected VideoPositionTargeting videoPositionSegment
public GeoTargeting getGeoSegment()
GeoTargetingpublic void setGeoSegment(GeoTargeting value)
value - allowed object is
GeoTargetingpublic List<AdUnitTargeting> getAdUnitSegments()
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 adUnitSegments property.
For example, to add a new item, do as follows:
getAdUnitSegments().add(newItem);
Objects of the following type(s) are allowed in the list
AdUnitTargeting
public PlacementTargeting getPlacementSegment()
PlacementTargetingpublic void setPlacementSegment(PlacementTargeting value)
value - allowed object is
PlacementTargetingpublic List<CustomCriteria> getCustomTargetingSegment()
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 customTargetingSegment property.
For example, to add a new item, do as follows:
getCustomTargetingSegment().add(newItem);
Objects of the following type(s) are allowed in the list
CustomCriteria
public UserDomainTargeting getUserDomainSegment()
UserDomainTargetingpublic void setUserDomainSegment(UserDomainTargeting value)
value - allowed object is
UserDomainTargetingpublic BandwidthGroupTargeting getBandwidthSegment()
BandwidthGroupTargetingpublic void setBandwidthSegment(BandwidthGroupTargeting value)
value - allowed object is
BandwidthGroupTargetingpublic BrowserTargeting getBrowserSegment()
BrowserTargetingpublic void setBrowserSegment(BrowserTargeting value)
value - allowed object is
BrowserTargetingpublic BrowserLanguageTargeting getBrowserLanguageSegment()
BrowserLanguageTargetingpublic void setBrowserLanguageSegment(BrowserLanguageTargeting value)
value - allowed object is
BrowserLanguageTargetingpublic OperatingSystemTargeting getOperatingSystemSegment()
OperatingSystemTargetingpublic void setOperatingSystemSegment(OperatingSystemTargeting value)
value - allowed object is
OperatingSystemTargetingpublic OperatingSystemVersionTargeting getOperatingSystemVersionSegment()
OperatingSystemVersionTargetingpublic void setOperatingSystemVersionSegment(OperatingSystemVersionTargeting value)
value - allowed object is
OperatingSystemVersionTargetingpublic MobileCarrierTargeting getMobileCarrierSegment()
MobileCarrierTargetingpublic void setMobileCarrierSegment(MobileCarrierTargeting value)
value - allowed object is
MobileCarrierTargetingpublic DeviceCapabilityTargeting getDeviceCapabilitySegment()
DeviceCapabilityTargetingpublic void setDeviceCapabilitySegment(DeviceCapabilityTargeting value)
value - allowed object is
DeviceCapabilityTargetingpublic DeviceCategoryTargeting getDeviceCategorySegment()
DeviceCategoryTargetingpublic void setDeviceCategorySegment(DeviceCategoryTargeting value)
value - allowed object is
DeviceCategoryTargetingpublic DeviceManufacturerTargeting getDeviceManufacturerSegment()
DeviceManufacturerTargetingpublic void setDeviceManufacturerSegment(DeviceManufacturerTargeting value)
value - allowed object is
DeviceManufacturerTargetingpublic MobileDeviceTargeting getMobileDeviceSegment()
MobileDeviceTargetingpublic void setMobileDeviceSegment(MobileDeviceTargeting value)
value - allowed object is
MobileDeviceTargetingpublic MobileDeviceSubmodelTargeting getMobileDeviceSubmodelSegment()
MobileDeviceSubmodelTargetingpublic void setMobileDeviceSubmodelSegment(MobileDeviceSubmodelTargeting value)
value - allowed object is
MobileDeviceSubmodelTargetingpublic List<CreativePlaceholder> getSizeSegment()
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 sizeSegment property.
For example, to add a new item, do as follows:
getSizeSegment().add(newItem);
Objects of the following type(s) are allowed in the list
CreativePlaceholder
public MobileApplicationTargeting getMobileApplicationSegment()
MobileApplicationTargetingpublic void setMobileApplicationSegment(MobileApplicationTargeting value)
value - allowed object is
MobileApplicationTargetingpublic VideoPositionTargeting getVideoPositionSegment()
VideoPositionTargetingpublic void setVideoPositionSegment(VideoPositionTargeting value)
value - allowed object is
VideoPositionTargetingCopyright © 2018. All Rights Reserved.