public class FirstPartyAudienceSegmentRule extends Object implements Serializable
FirstPartyAudienceSegment that defines user's
eligibility criteria to be part
of a segment.| Constructor and Description |
|---|
FirstPartyAudienceSegmentRule() |
FirstPartyAudienceSegmentRule(InventoryTargeting inventoryRule,
CustomCriteriaSet customCriteriaRule) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CustomCriteriaSet |
getCustomCriteriaRule()
Gets the customCriteriaRule value for this FirstPartyAudienceSegmentRule.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
InventoryTargeting |
getInventoryRule()
Gets the inventoryRule value for this FirstPartyAudienceSegmentRule.
|
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
|
int |
hashCode() |
void |
setCustomCriteriaRule(CustomCriteriaSet customCriteriaRule)
Sets the customCriteriaRule value for this FirstPartyAudienceSegmentRule.
|
void |
setInventoryRule(InventoryTargeting inventoryRule)
Sets the inventoryRule value for this FirstPartyAudienceSegmentRule.
|
String |
toString() |
public FirstPartyAudienceSegmentRule()
public FirstPartyAudienceSegmentRule(InventoryTargeting inventoryRule, CustomCriteriaSet customCriteriaRule)
public InventoryTargeting getInventoryRule()
FirstPartyAudienceSegment. This attribute
is required.public void setInventoryRule(InventoryTargeting inventoryRule)
inventoryRule - * Specifies the inventory (i.e. ad units and placements) that
are part of the rule of a
FirstPartyAudienceSegment. This attribute
is required.public CustomCriteriaSet getCustomCriteriaRule()
FirstPartyAudienceSegment.
Once the FirstPartyAudienceSegment is updated
or modified with custom criteria, the
server may return a normalized, but equivalent representation
of the custom criteria rule.
customCriteriaRule will have up to three levels
including itself.
CustomCriteriaSet i.e. the customTargeting object can only
contain a CustomCriteriaSet.LogicalOperator#OR
of all its children.
CustomCriteriaSet objects
can only contain
CustomCriteriaSet.LogicalOperator#AND of all
their children. If a
CustomCriteria is placed on this level, the
server will wrap it in a
CustomCriteriaSet.
CustomCriteria
objects.
The resulting custom criteria rule would be of the
form:
public void setCustomCriteriaRule(CustomCriteriaSet customCriteriaRule)
customCriteriaRule - * Specifies the collection of custom criteria that are part of
the rule of a
FirstPartyAudienceSegment.
Once the FirstPartyAudienceSegment is updated
or modified with custom criteria, the
server may return a normalized, but equivalent representation
of the custom criteria rule.
customCriteriaRule will have up to three levels
including itself.
CustomCriteriaSet i.e. the customTargeting object can only
contain a CustomCriteriaSet.LogicalOperator#OR
of all its children.
CustomCriteriaSet objects
can only contain
CustomCriteriaSet.LogicalOperator#AND of all
their children. If a
CustomCriteria is placed on this level, the
server will wrap it in a
CustomCriteriaSet.
CustomCriteria
objects.
The resulting custom criteria rule would be of the
form:
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2022. All rights reserved.