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) |
| 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
|
GeoTargeting |
getGeoSegment()
Gets the geoSegment value for this ProductSegmentation.
|
OperatingSystemTargeting |
getOperatingSystemSegment()
Gets the operatingSystemSegment 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
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
UserDomainTargeting |
getUserDomainSegment()
Gets the userDomainSegment 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 |
setGeoSegment(GeoTargeting geoSegment)
Sets the geoSegment value for this ProductSegmentation.
|
void |
setOperatingSystemSegment(OperatingSystemTargeting operatingSystemSegment)
Sets the operatingSystemSegment value for this ProductSegmentation.
|
void |
setPlacementSegment(PlacementTargeting placementSegment)
Sets the placementSegment value for this ProductSegmentation.
|
void |
setUserDomainSegment(UserDomainTargeting userDomainSegment)
Sets the userDomainSegment value for this ProductSegmentation.
|
public ProductSegmentation()
public ProductSegmentation(GeoTargeting geoSegment, AdUnitTargeting[] adUnitSegments, PlacementTargeting placementSegment, CustomCriteria[] customTargetingSegment, UserDomainTargeting userDomainSegment, BandwidthGroupTargeting bandwidthSegment, BrowserTargeting browserSegment, BrowserLanguageTargeting browserLanguageSegment, OperatingSystemTargeting operatingSystemSegment)
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()
public void setPlacementSegment(PlacementTargeting placementSegment)
placementSegment - * The placement targeting segmentation.
This attribute is optional.public CustomCriteria[] getCustomTargetingSegment()
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 static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2014. All Rights Reserved.