public class ProductSegmentation extends Object implements Serializable
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.
| Constructor and Description |
|---|
ProductSegmentation() |
ProductSegmentation(GeoTargeting geoSegment,
AdUnitTargeting[] adUnitSegments,
PlacementTargeting placementSegment,
CustomCriteria[] customTargetingSegment,
UserDomainTargeting userDomainSegment,
BandwidthGroupTargeting bandwidthSegment,
BrowserTargeting browserSegment,
BrowserLanguageTargeting browserLanguageSegment,
OperatingSystemTargeting operatingSystemSegment,
OperatingSystemVersionTargeting operatingSystemVersionSegment,
MobileCarrierTargeting mobileCarrierSegment,
DeviceCapabilityTargeting deviceCapabilitySegment,
DeviceCategoryTargeting deviceCategorySegment,
DeviceManufacturerTargeting deviceManufacturerSegment,
MobileDeviceTargeting mobileDeviceSegment,
MobileDeviceSubmodelTargeting mobileDeviceSubmodelSegment,
CreativePlaceholder[] sizeSegment,
MobileApplicationTargeting mobileApplicationSegment,
VideoPositionTargeting videoPositionSegment) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AdUnitTargeting[] |
getAdUnitSegments()
Gets the adUnitSegments value for this ProductSegmentation.
|
AdUnitTargeting |
getAdUnitSegments(int i) |
BandwidthGroupTargeting |
getBandwidthSegment()
Gets the bandwidthSegment value for this ProductSegmentation.
|
BrowserLanguageTargeting |
getBrowserLanguageSegment()
Gets the browserLanguageSegment value for this ProductSegmentation.
|
BrowserTargeting |
getBrowserSegment()
Gets the browserSegment value for this ProductSegmentation.
|
CustomCriteria[] |
getCustomTargetingSegment()
Gets the customTargetingSegment value for this ProductSegmentation.
|
CustomCriteria |
getCustomTargetingSegment(int i) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
DeviceCapabilityTargeting |
getDeviceCapabilitySegment()
Gets the deviceCapabilitySegment value for this ProductSegmentation.
|
DeviceCategoryTargeting |
getDeviceCategorySegment()
Gets the deviceCategorySegment value for this ProductSegmentation.
|
DeviceManufacturerTargeting |
getDeviceManufacturerSegment()
Gets the deviceManufacturerSegment value for this ProductSegmentation.
|
GeoTargeting |
getGeoSegment()
Gets the geoSegment value for this ProductSegmentation.
|
MobileApplicationTargeting |
getMobileApplicationSegment()
Gets the mobileApplicationSegment value for this ProductSegmentation.
|
MobileCarrierTargeting |
getMobileCarrierSegment()
Gets the mobileCarrierSegment value for this ProductSegmentation.
|
MobileDeviceTargeting |
getMobileDeviceSegment()
Gets the mobileDeviceSegment value for this ProductSegmentation.
|
MobileDeviceSubmodelTargeting |
getMobileDeviceSubmodelSegment()
Gets the mobileDeviceSubmodelSegment value for this ProductSegmentation.
|
OperatingSystemTargeting |
getOperatingSystemSegment()
Gets the operatingSystemSegment value for this ProductSegmentation.
|
OperatingSystemVersionTargeting |
getOperatingSystemVersionSegment()
Gets the operatingSystemVersionSegment value for this ProductSegmentation.
|
PlacementTargeting |
getPlacementSegment()
Gets the placementSegment value for this ProductSegmentation.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
CreativePlaceholder[] |
getSizeSegment()
Gets the sizeSegment value for this ProductSegmentation.
|
CreativePlaceholder |
getSizeSegment(int i) |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
UserDomainTargeting |
getUserDomainSegment()
Gets the userDomainSegment value for this ProductSegmentation.
|
VideoPositionTargeting |
getVideoPositionSegment()
Gets the videoPositionSegment value for this ProductSegmentation.
|
int |
hashCode() |
void |
setAdUnitSegments(AdUnitTargeting[] adUnitSegments)
Sets the adUnitSegments value for this ProductSegmentation.
|
void |
setAdUnitSegments(int i,
AdUnitTargeting _value) |
void |
setBandwidthSegment(BandwidthGroupTargeting bandwidthSegment)
Sets the bandwidthSegment value for this ProductSegmentation.
|
void |
setBrowserLanguageSegment(BrowserLanguageTargeting browserLanguageSegment)
Sets the browserLanguageSegment value for this ProductSegmentation.
|
void |
setBrowserSegment(BrowserTargeting browserSegment)
Sets the browserSegment value for this ProductSegmentation.
|
void |
setCustomTargetingSegment(CustomCriteria[] customTargetingSegment)
Sets the customTargetingSegment value for this ProductSegmentation.
|
void |
setCustomTargetingSegment(int i,
CustomCriteria _value) |
void |
setDeviceCapabilitySegment(DeviceCapabilityTargeting deviceCapabilitySegment)
Sets the deviceCapabilitySegment value for this ProductSegmentation.
|
void |
setDeviceCategorySegment(DeviceCategoryTargeting deviceCategorySegment)
Sets the deviceCategorySegment value for this ProductSegmentation.
|
void |
setDeviceManufacturerSegment(DeviceManufacturerTargeting deviceManufacturerSegment)
Sets the deviceManufacturerSegment value for this ProductSegmentation.
|
void |
setGeoSegment(GeoTargeting geoSegment)
Sets the geoSegment value for this ProductSegmentation.
|
void |
setMobileApplicationSegment(MobileApplicationTargeting mobileApplicationSegment)
Sets the mobileApplicationSegment value for this ProductSegmentation.
|
void |
setMobileCarrierSegment(MobileCarrierTargeting mobileCarrierSegment)
Sets the mobileCarrierSegment value for this ProductSegmentation.
|
void |
setMobileDeviceSegment(MobileDeviceTargeting mobileDeviceSegment)
Sets the mobileDeviceSegment value for this ProductSegmentation.
|
void |
setMobileDeviceSubmodelSegment(MobileDeviceSubmodelTargeting mobileDeviceSubmodelSegment)
Sets the mobileDeviceSubmodelSegment value for this ProductSegmentation.
|
void |
setOperatingSystemSegment(OperatingSystemTargeting operatingSystemSegment)
Sets the operatingSystemSegment value for this ProductSegmentation.
|
void |
setOperatingSystemVersionSegment(OperatingSystemVersionTargeting operatingSystemVersionSegment)
Sets the operatingSystemVersionSegment value for this ProductSegmentation.
|
void |
setPlacementSegment(PlacementTargeting placementSegment)
Sets the placementSegment value for this ProductSegmentation.
|
void |
setSizeSegment(CreativePlaceholder[] sizeSegment)
Sets the sizeSegment value for this ProductSegmentation.
|
void |
setSizeSegment(int i,
CreativePlaceholder _value) |
void |
setUserDomainSegment(UserDomainTargeting userDomainSegment)
Sets the userDomainSegment value for this ProductSegmentation.
|
void |
setVideoPositionSegment(VideoPositionTargeting videoPositionSegment)
Sets the videoPositionSegment value for this ProductSegmentation.
|
String |
toString() |
public ProductSegmentation()
public ProductSegmentation(GeoTargeting geoSegment, AdUnitTargeting[] adUnitSegments, PlacementTargeting placementSegment, CustomCriteria[] customTargetingSegment, UserDomainTargeting userDomainSegment, BandwidthGroupTargeting bandwidthSegment, BrowserTargeting browserSegment, BrowserLanguageTargeting browserLanguageSegment, OperatingSystemTargeting operatingSystemSegment, OperatingSystemVersionTargeting operatingSystemVersionSegment, MobileCarrierTargeting mobileCarrierSegment, DeviceCapabilityTargeting deviceCapabilitySegment, DeviceCategoryTargeting deviceCategorySegment, DeviceManufacturerTargeting deviceManufacturerSegment, MobileDeviceTargeting mobileDeviceSegment, MobileDeviceSubmodelTargeting mobileDeviceSubmodelSegment, CreativePlaceholder[] sizeSegment, MobileApplicationTargeting mobileApplicationSegment, VideoPositionTargeting videoPositionSegment)
public GeoTargeting getGeoSegment()
GeoTargeting.targetedLocations field.
This attribute is optional.
public void setGeoSegment(GeoTargeting geoSegment)
geoSegment - * The geographic segmentation. Segments should be set on the
GeoTargeting.targetedLocations field.
This attribute is optional.
public AdUnitTargeting[] getAdUnitSegments()
AdUnitTargeting.includeDescendants must be true.
This attribute is optional.
public void setAdUnitSegments(AdUnitTargeting[] adUnitSegments)
adUnitSegments - * The ad unit targeting segmentation. For each ad unit segment,
AdUnitTargeting.includeDescendants must be true.
This attribute is optional.
public AdUnitTargeting getAdUnitSegments(int i)
public void setAdUnitSegments(int i,
AdUnitTargeting _value)
public PlacementTargeting getPlacementSegment()
This attribute is optional.
public void setPlacementSegment(PlacementTargeting placementSegment)
placementSegment - * The placement targeting segmentation.
This attribute is optional.
public CustomCriteria[] getCustomTargetingSegment()
This attribute is optional.
public void setCustomTargetingSegment(CustomCriteria[] customTargetingSegment)
customTargetingSegment - * The custom targeting segmentation.
This attribute is optional.
public CustomCriteria getCustomTargetingSegment(int i)
public void setCustomTargetingSegment(int i,
CustomCriteria _value)
public UserDomainTargeting getUserDomainSegment()
UserDomainTargeting#isTargeted
must be true.
This attribute is optional.
public void setUserDomainSegment(UserDomainTargeting userDomainSegment)
userDomainSegment - * The user domain segmentation. UserDomainTargeting#isTargeted
must be true.
This attribute is optional.
public BandwidthGroupTargeting getBandwidthSegment()
BandwidthGroupTargeting.isTargeted
must be true.
This attribute is optional.
public void setBandwidthSegment(BandwidthGroupTargeting bandwidthSegment)
bandwidthSegment - * The bandwidth segmentation. BandwidthGroupTargeting.isTargeted
must be true.
This attribute is optional.
public BrowserTargeting getBrowserSegment()
BrowserTargeting.isTargeted
must be true.
This attribute is optional.
public void setBrowserSegment(BrowserTargeting browserSegment)
browserSegment - * The browser segmentation. BrowserTargeting.isTargeted
must be true.
This attribute is optional.
public BrowserLanguageTargeting getBrowserLanguageSegment()
BrowserLanguageTargeting.isTargeted
must be true.
This attribute is optional.
public void setBrowserLanguageSegment(BrowserLanguageTargeting browserLanguageSegment)
browserLanguageSegment - * The browser language segmentation. BrowserLanguageTargeting.isTargeted
must be true.
This attribute is optional.
public OperatingSystemTargeting getOperatingSystemSegment()
OperatingSystemTargeting.isTargeted
must be true.
We only allow segment by Operating_System, not Operating_System_Version
(will be ignored).
This attribute is optional.
public void setOperatingSystemSegment(OperatingSystemTargeting operatingSystemSegment)
operatingSystemSegment - * The operating system segmentation. OperatingSystemTargeting.isTargeted
must be true.
We only allow segment by Operating_System, not Operating_System_Version
(will be ignored).
This attribute is optional.
public OperatingSystemVersionTargeting getOperatingSystemVersionSegment()
OperatingSystemVersionTargeting#isTargeted
must be true.
This attribute is optional.
public void setOperatingSystemVersionSegment(OperatingSystemVersionTargeting operatingSystemVersionSegment)
operatingSystemVersionSegment - * The operating system version segmentation. OperatingSystemVersionTargeting#isTargeted
must be true.
This attribute is optional.
public MobileCarrierTargeting getMobileCarrierSegment()
MobileCarrierTargeting.isTargeted
must be true.
This attribute is optional.
public void setMobileCarrierSegment(MobileCarrierTargeting mobileCarrierSegment)
mobileCarrierSegment - * The mobile carrier segmentation. MobileCarrierTargeting.isTargeted
must be true.
This attribute is optional.
public DeviceCapabilityTargeting getDeviceCapabilitySegment()
DeviceCapabilityTargeting.excludedDeviceCapabilities
must be empty or null.
This attribute is optional.
public void setDeviceCapabilitySegment(DeviceCapabilityTargeting deviceCapabilitySegment)
deviceCapabilitySegment - * The device capability segmentation. DeviceCapabilityTargeting.excludedDeviceCapabilities
must be empty or null.
This attribute is optional.
public DeviceCategoryTargeting getDeviceCategorySegment()
DeviceCategoryTargeting.excludedDeviceCategories
must
be empty or null.
This attribute is optional.
public void setDeviceCategorySegment(DeviceCategoryTargeting deviceCategorySegment)
deviceCategorySegment - * The device category segmentation. DeviceCategoryTargeting.excludedDeviceCategories
must
be empty or null.
This attribute is optional.
public DeviceManufacturerTargeting getDeviceManufacturerSegment()
DeviceFamilyTargeting#isTargeted
must be true.
This attribute is optional.
public void setDeviceManufacturerSegment(DeviceManufacturerTargeting deviceManufacturerSegment)
deviceManufacturerSegment - * The device manufacturer segmentation. DeviceFamilyTargeting#isTargeted
must be true.
This attribute is optional.
public MobileDeviceTargeting getMobileDeviceSegment()
MobileDeviceTargeting.excludedMobileDevices
must be
empty or null.
This attribute is optional.
public void setMobileDeviceSegment(MobileDeviceTargeting mobileDeviceSegment)
mobileDeviceSegment - * The mobile device segmentation. MobileDeviceTargeting.excludedMobileDevices
must be
empty or null.
This attribute is optional.
public MobileDeviceSubmodelTargeting getMobileDeviceSubmodelSegment()
MobileDeviceSubmodelTargeting.excludedMobileDeviceSubmodels
must be empty or null.public void setMobileDeviceSubmodelSegment(MobileDeviceSubmodelTargeting mobileDeviceSubmodelSegment)
mobileDeviceSubmodelSegment - * The mobile device submodel segmentation. MobileDeviceSubmodelTargeting.excludedMobileDeviceSubmodels
must be empty or null.public CreativePlaceholder[] getSizeSegment()
This attribute is optional.
public void setSizeSegment(CreativePlaceholder[] sizeSegment)
sizeSegment - * The creative size segmentation.
This attribute is optional.
public CreativePlaceholder getSizeSegment(int i)
public void setSizeSegment(int i,
CreativePlaceholder _value)
public MobileApplicationTargeting getMobileApplicationSegment()
This attribute is optional.
public void setMobileApplicationSegment(MobileApplicationTargeting mobileApplicationSegment)
mobileApplicationSegment - * The mobile application segmentation.
This attribute is optional.
public VideoPositionTargeting getVideoPositionSegment()
This attribute is optional.
public void setVideoPositionSegment(VideoPositionTargeting videoPositionSegment)
videoPositionSegment - * The video position segmentation.
This attribute is optional.
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2018. All Rights Reserved.