public class ThirdPartyAudienceSegment extends AudienceSegment implements Serializable
ThirdPartyAudienceSegment is an AudienceSegment
owned by a data provider and
licensed to the DFP publisher.| Constructor and Description |
|---|
ThirdPartyAudienceSegment() |
ThirdPartyAudienceSegment(Long id,
String name,
String description,
AudienceSegmentStatus status,
Long size,
AudienceSegmentDataProvider dataProvider,
AudienceSegmentAudienceSegmentType type,
String audienceSegmentType,
ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus approvalStatus,
Money cost,
DateTime startDateTime,
DateTime endDateTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus |
getApprovalStatus()
Gets the approvalStatus value for this ThirdPartyAudienceSegment.
|
Money |
getCost()
Gets the cost value for this ThirdPartyAudienceSegment.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
DateTime |
getEndDateTime()
Gets the endDateTime value for this ThirdPartyAudienceSegment.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
DateTime |
getStartDateTime()
Gets the startDateTime value for this ThirdPartyAudienceSegment.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setApprovalStatus(ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus approvalStatus)
Sets the approvalStatus value for this ThirdPartyAudienceSegment.
|
void |
setCost(Money cost)
Sets the cost value for this ThirdPartyAudienceSegment.
|
void |
setEndDateTime(DateTime endDateTime)
Sets the endDateTime value for this ThirdPartyAudienceSegment.
|
void |
setStartDateTime(DateTime startDateTime)
Sets the startDateTime value for this ThirdPartyAudienceSegment.
|
getAudienceSegmentType, getDataProvider, getDescription, getId, getName, getSize, getStatus, getType, setAudienceSegmentType, setDataProvider, setDescription, setId, setName, setSize, setStatus, setTypepublic ThirdPartyAudienceSegment()
public ThirdPartyAudienceSegment(Long id, String name, String description, AudienceSegmentStatus status, Long size, AudienceSegmentDataProvider dataProvider, AudienceSegmentAudienceSegmentType type, String audienceSegmentType, ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus approvalStatus, Money cost, DateTime startDateTime, DateTime endDateTime)
public ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus getApprovalStatus()
public void setApprovalStatus(ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus approvalStatus)
approvalStatus - * Specifies if the publisher has approved or rejected the segment.public Money getCost()
public void setCost(Money cost)
cost - * Specifies CPM cost for the given segment. This attribute is
readonly and is assigned by the
data provider.public DateTime getStartDateTime()
public void setStartDateTime(DateTime startDateTime)
startDateTime - * Specifies the date and time at which this segment becomes available
for use. This attribute is
readonly and is assigned by the data provider.public DateTime getEndDateTime()
public void setEndDateTime(DateTime endDateTime)
endDateTime - * Specifies the date and time at which this segment ceases to
be available for use. This
attribute is readonly and is assigned by the data
provider.public boolean equals(Object obj)
equals in class AudienceSegmentpublic int hashCode()
hashCode in class AudienceSegmentpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2013. All Rights Reserved.