public class NonRuleBasedFirstPartyAudienceSegment extends FirstPartyAudienceSegment implements Serializable
NonRuleBasedFirstPartyAudienceSegment is a FirstPartyAudienceSegment
owned by
the publisher network. It doesn't contain a rule. Cookies
are usually added to this segment via
cookie upload.
These segments are created by data management platforms or Google Analytics. They cannot be created using the DFP API.
| Constructor and Description |
|---|
NonRuleBasedFirstPartyAudienceSegment() |
NonRuleBasedFirstPartyAudienceSegment(Long id,
String name,
long[] categoryIds,
String description,
AudienceSegmentStatus status,
Long size,
AudienceSegmentDataProvider dataProvider,
AudienceSegmentType type,
Integer membershipExpirationDays) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Integer |
getMembershipExpirationDays()
Gets the membershipExpirationDays value for this NonRuleBasedFirstPartyAudienceSegment.
|
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 |
setMembershipExpirationDays(Integer membershipExpirationDays)
Sets the membershipExpirationDays value for this NonRuleBasedFirstPartyAudienceSegment.
|
String |
toString() |
getCategoryIds, getCategoryIds, getDataProvider, getDescription, getId, getName, getSize, getStatus, getType, setCategoryIds, setCategoryIds, setDataProvider, setDescription, setId, setName, setSize, setStatus, setTypepublic NonRuleBasedFirstPartyAudienceSegment()
public NonRuleBasedFirstPartyAudienceSegment(Long id, String name, long[] categoryIds, String description, AudienceSegmentStatus status, Long size, AudienceSegmentDataProvider dataProvider, AudienceSegmentType type, Integer membershipExpirationDays)
public String toString()
toString in class FirstPartyAudienceSegmentpublic Integer getMembershipExpirationDays()
public void setMembershipExpirationDays(Integer membershipExpirationDays)
membershipExpirationDays - * Specifies the number of days after which a user's cookie will
be removed from the audience
segment due to inactivity. This attribute is required
and can be between 1 and 540.public boolean equals(Object obj)
equals in class FirstPartyAudienceSegmentpublic int hashCode()
hashCode in class FirstPartyAudienceSegmentpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2017. All Rights Reserved.