public class YieldAdSource extends Object implements Serializable
YieldGroupDto.| Constructor and Description |
|---|
YieldAdSource() |
YieldAdSource(Long adSourceId,
Long companyId,
AbstractDisplaySettings displaySettings,
YieldEntityStatus status,
Money manualCpm,
Boolean overrideDynamicCpm) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getAdSourceId()
Gets the adSourceId value for this YieldAdSource.
|
Long |
getCompanyId()
Gets the companyId value for this YieldAdSource.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
AbstractDisplaySettings |
getDisplaySettings()
Gets the displaySettings value for this YieldAdSource.
|
Money |
getManualCpm()
Gets the manualCpm value for this YieldAdSource.
|
Boolean |
getOverrideDynamicCpm()
Gets the overrideDynamicCpm value for this YieldAdSource.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
YieldEntityStatus |
getStatus()
Gets the status value for this YieldAdSource.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAdSourceId(Long adSourceId)
Sets the adSourceId value for this YieldAdSource.
|
void |
setCompanyId(Long companyId)
Sets the companyId value for this YieldAdSource.
|
void |
setDisplaySettings(AbstractDisplaySettings displaySettings)
Sets the displaySettings value for this YieldAdSource.
|
void |
setManualCpm(Money manualCpm)
Sets the manualCpm value for this YieldAdSource.
|
void |
setOverrideDynamicCpm(Boolean overrideDynamicCpm)
Sets the overrideDynamicCpm value for this YieldAdSource.
|
void |
setStatus(YieldEntityStatus status)
Sets the status value for this YieldAdSource.
|
String |
toString() |
public YieldAdSource()
public YieldAdSource(Long adSourceId, Long companyId, AbstractDisplaySettings displaySettings, YieldEntityStatus status, Money manualCpm, Boolean overrideDynamicCpm)
public Long getAdSourceId()
public void setAdSourceId(Long adSourceId)
adSourceId - * The unique ID of the ad source. This attribute is read-only
and is assigned by Google when the
ad source is created.public Long getCompanyId()
Company
representing the yield partner.public void setCompanyId(Long companyId)
companyId - * The id of the partner owning the ad source. This should be
the ID of the Company
representing the yield partner.public AbstractDisplaySettings getDisplaySettings()
public void setDisplaySettings(AbstractDisplaySettings displaySettings)
displaySettings - * Data that describe how to call an ad network.public YieldEntityStatus getStatus()
YieldGroup this ad source belongs to. Set
this to DELETED to remove it from the
YieldGroup.public void setStatus(YieldEntityStatus status)
status - * User-assigned status of the ad source. Note that this can be
different than the status on the
YieldGroup this ad source belongs to. Set
this to DELETED to remove it from the
YieldGroup.public Money getManualCpm()
overrideDynamicCpm is set to
true.public void setManualCpm(Money manualCpm)
manualCpm - * CPM manually assigned to this source. This will be used as
a default CPM until automatic data
collection is available for the ad source, or always
if overrideDynamicCpm is set to
true.public Boolean getOverrideDynamicCpm()
manualCpm.public void setOverrideDynamicCpm(Boolean overrideDynamicCpm)
overrideDynamicCpm - * If true, then the automatically collected CPM, if available,
is ignored in favor of manualCpm.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2026. All rights reserved.