|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201201.Forecast
public class Forecast
Describes predicted inventory availability for a line item with the specified properties.
Inventory has three threshold values along a line of possible inventory. From least to most, these are:
The term "can overbook" is used, because if more impressions are served than are predicted, the extra available inventory might enable all inventory guarantees to be met without overbooking.
| Constructor Summary | |
|---|---|
Forecast()
|
|
Forecast(Long id,
Long orderId,
UnitType unitType,
Long availableUnits,
Long deliveredUnits,
Long matchedUnits,
Long possibleUnits,
Long reservedUnits)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Long |
getAvailableUnits()
Gets the availableUnits value for this Forecast. |
Long |
getDeliveredUnits()
Gets the deliveredUnits value for this Forecast. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
Long |
getId()
Gets the id value for this Forecast. |
Long |
getMatchedUnits()
Gets the matchedUnits value for this Forecast. |
Long |
getOrderId()
Gets the orderId value for this Forecast. |
Long |
getPossibleUnits()
Gets the possibleUnits value for this Forecast. |
Long |
getReservedUnits()
Gets the reservedUnits value for this Forecast. |
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 |
UnitType |
getUnitType()
Gets the unitType value for this Forecast. |
int |
hashCode()
|
void |
setAvailableUnits(Long availableUnits)
Sets the availableUnits value for this Forecast. |
void |
setDeliveredUnits(Long deliveredUnits)
Sets the deliveredUnits value for this Forecast. |
void |
setId(Long id)
Sets the id value for this Forecast. |
void |
setMatchedUnits(Long matchedUnits)
Sets the matchedUnits value for this Forecast. |
void |
setOrderId(Long orderId)
Sets the orderId value for this Forecast. |
void |
setPossibleUnits(Long possibleUnits)
Sets the possibleUnits value for this Forecast. |
void |
setReservedUnits(Long reservedUnits)
Sets the reservedUnits value for this Forecast. |
void |
setUnitType(UnitType unitType)
Sets the unitType value for this Forecast. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Forecast()
public Forecast(Long id,
Long orderId,
UnitType unitType,
Long availableUnits,
Long deliveredUnits,
Long matchedUnits,
Long possibleUnits,
Long reservedUnits)
| Method Detail |
|---|
public Long getId()
Forecast. This value is read-only
and is assigned by Google when the forecast is created. The
attribute will be either the ID of the LineItem
object it
represents, or null if the forecast represents
a
prospective line item.public void setId(Long id)
id - * Uniquely identifies the Forecast. This value is read-only
and is assigned by Google when the forecast is created. The
attribute will be either the ID of the LineItem
object it
represents, or null if the forecast represents
a
prospective line item.public Long getOrderId()
Order object that counts this
reservation as
a member, or null if the forecast represents
a
prospective line item without an LineItemSummary.orderId
set.public void setOrderId(Long orderId)
orderId - * The unique ID for the Order object that counts this
reservation as
a member, or null if the forecast represents
a
prospective line item without an LineItemSummary.orderId
set.public UnitType getUnitType()
LineItem
is defined.
Will be the same value as LineItemSummary.unitType
for both a set line
item or a prospective one.public void setUnitType(UnitType unitType)
unitType - * The unit with which the goal or cap of the LineItem
is defined.
Will be the same value as LineItemSummary.unitType
for both a set line
item or a prospective one.public Long getAvailableUnits()
unitType,
that can be
booked without affecting the delivery of any reserved
line items. Exceeding
this value will not cause an overbook, but lower-priority
line items may
not run.public void setAvailableUnits(Long availableUnits)
availableUnits - * The number of units, defined by unitType,
that can be
booked without affecting the delivery of any reserved
line items. Exceeding
this value will not cause an overbook, but lower-priority
line items may
not run.public Long getDeliveredUnits()
unitType,
that
have already been served if the reservation is already
running.public void setDeliveredUnits(Long deliveredUnits)
deliveredUnits - * The number of units, defined by unitType,
that
have already been served if the reservation is already
running.public Long getMatchedUnits()
unitType,
that match the
specified targeting and delivery settings.public void setMatchedUnits(Long matchedUnits)
matchedUnits - * The number of units, defined by unitType,
that match the
specified targeting and delivery settings.public Long getPossibleUnits()
unitType,
that
could be booked by taking inventory away from lower-priority
line items.
(Please note: booking this number may cause lower-priority
line items to
under deliver.)public void setPossibleUnits(Long possibleUnits)
possibleUnits - * The maximum number of units, defined by unitType,
that
could be booked by taking inventory away from lower-priority
line items.
(Please note: booking this number may cause lower-priority
line items to
under deliver.)public Long getReservedUnits()
unitType, requested. This can be
an absolute or
percentage value.public void setReservedUnits(Long reservedUnits)
reservedUnits - * The number of reserved units, defined by
unitType, requested. This can be
an absolute or
percentage value.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||