public class ThirdPartyAudienceSegment extends AudienceSegment implements Serializable
ThirdPartyAudienceSegment is an AudienceSegment
owned by a data provider and
licensed to the Ad Manager publisher.| Constructor and Description |
|---|
ThirdPartyAudienceSegment() |
ThirdPartyAudienceSegment(Long id,
String name,
long[] categoryIds,
String description,
AudienceSegmentStatus status,
Long size,
Long mobileWebSize,
Long idfaSize,
Long adIdSize,
Long ppidSize,
AudienceSegmentDataProvider dataProvider,
AudienceSegmentType type,
ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus approvalStatus,
Money cost,
ThirdPartyAudienceSegmentLicenseType licenseType,
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.
|
ThirdPartyAudienceSegmentLicenseType |
getLicenseType()
Gets the licenseType 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 |
setLicenseType(ThirdPartyAudienceSegmentLicenseType licenseType)
Sets the licenseType value for this ThirdPartyAudienceSegment.
|
void |
setStartDateTime(DateTime startDateTime)
Sets the startDateTime value for this ThirdPartyAudienceSegment.
|
String |
toString() |
getAdIdSize, getCategoryIds, getCategoryIds, getDataProvider, getDescription, getId, getIdfaSize, getMobileWebSize, getName, getPpidSize, getSize, getStatus, getType, setAdIdSize, setCategoryIds, setCategoryIds, setDataProvider, setDescription, setId, setIdfaSize, setMobileWebSize, setName, setPpidSize, setSize, setStatus, setTypepublic ThirdPartyAudienceSegment()
public ThirdPartyAudienceSegment(Long id, String name, long[] categoryIds, String description, AudienceSegmentStatus status, Long size, Long mobileWebSize, Long idfaSize, Long adIdSize, Long ppidSize, AudienceSegmentDataProvider dataProvider, AudienceSegmentType type, ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus approvalStatus, Money cost, ThirdPartyAudienceSegmentLicenseType licenseType, DateTime startDateTime, DateTime endDateTime)
public String toString()
toString in class AudienceSegmentpublic ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus getApprovalStatus()
public void setApprovalStatus(ThirdPartyAudienceSegmentAudienceSegmentApprovalStatus approvalStatus)
approvalStatus - * Specifies if the publisher has approved or rejected the segment.public Money getCost()
The CPM cost comes from the active pricing, if there is one; otherwise it comes from the latest pricing.
public void setCost(Money cost)
cost - * Specifies CPM cost for the given segment. This attribute is
readonly and is assigned by the
data provider.
The CPM cost comes from the active pricing, if there is one; otherwise it comes from the latest pricing.
public ThirdPartyAudienceSegmentLicenseType getLicenseType()
public void setLicenseType(ThirdPartyAudienceSegmentLicenseType licenseType)
licenseType - * Specifies the license type of the external segment. This attribute
is read-only.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 © 2018. All Rights Reserved.