public class AvailabilityForecast extends Object implements Serializable
ProspectiveLineItem.
Inventory has three threshold values along a line of possible inventory. From least to most, these are:
Underdelivery is caused by overbooking. However, if more impressions are served than are predicted, the extra available inventory might enable all inventory guarantees to be met without overbooking.
| Constructor and Description |
|---|
AvailabilityForecast() |
AvailabilityForecast(Long lineItemId,
Long orderId,
UnitType unitType,
Long availableUnits,
Long deliveredUnits,
Long matchedUnits,
Long possibleUnits,
Long reservedUnits,
TargetingCriteriaBreakdown[] targetingCriteriaBreakdowns,
ContendingLineItem[] contendingLineItems,
AlternativeUnitTypeForecast[] alternativeUnitTypeForecasts,
GrpDemographicBreakdown[] demographicBreakdowns) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AlternativeUnitTypeForecast[] |
getAlternativeUnitTypeForecasts()
Gets the alternativeUnitTypeForecasts value for this AvailabilityForecast.
|
AlternativeUnitTypeForecast |
getAlternativeUnitTypeForecasts(int i) |
Long |
getAvailableUnits()
Gets the availableUnits value for this AvailabilityForecast.
|
ContendingLineItem[] |
getContendingLineItems()
Gets the contendingLineItems value for this AvailabilityForecast.
|
ContendingLineItem |
getContendingLineItems(int i) |
Long |
getDeliveredUnits()
Gets the deliveredUnits value for this AvailabilityForecast.
|
GrpDemographicBreakdown[] |
getDemographicBreakdowns()
Gets the demographicBreakdowns value for this AvailabilityForecast.
|
GrpDemographicBreakdown |
getDemographicBreakdowns(int i) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getLineItemId()
Gets the lineItemId value for this AvailabilityForecast.
|
Long |
getMatchedUnits()
Gets the matchedUnits value for this AvailabilityForecast.
|
Long |
getOrderId()
Gets the orderId value for this AvailabilityForecast.
|
Long |
getPossibleUnits()
Gets the possibleUnits value for this AvailabilityForecast.
|
Long |
getReservedUnits()
Gets the reservedUnits value for this AvailabilityForecast.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
TargetingCriteriaBreakdown[] |
getTargetingCriteriaBreakdowns()
Gets the targetingCriteriaBreakdowns value for this AvailabilityForecast.
|
TargetingCriteriaBreakdown |
getTargetingCriteriaBreakdowns(int i) |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
UnitType |
getUnitType()
Gets the unitType value for this AvailabilityForecast.
|
int |
hashCode() |
void |
setAlternativeUnitTypeForecasts(AlternativeUnitTypeForecast[] alternativeUnitTypeForecasts)
Sets the alternativeUnitTypeForecasts value for this AvailabilityForecast.
|
void |
setAlternativeUnitTypeForecasts(int i,
AlternativeUnitTypeForecast _value) |
void |
setAvailableUnits(Long availableUnits)
Sets the availableUnits value for this AvailabilityForecast.
|
void |
setContendingLineItems(ContendingLineItem[] contendingLineItems)
Sets the contendingLineItems value for this AvailabilityForecast.
|
void |
setContendingLineItems(int i,
ContendingLineItem _value) |
void |
setDeliveredUnits(Long deliveredUnits)
Sets the deliveredUnits value for this AvailabilityForecast.
|
void |
setDemographicBreakdowns(GrpDemographicBreakdown[] demographicBreakdowns)
Sets the demographicBreakdowns value for this AvailabilityForecast.
|
void |
setDemographicBreakdowns(int i,
GrpDemographicBreakdown _value) |
void |
setLineItemId(Long lineItemId)
Sets the lineItemId value for this AvailabilityForecast.
|
void |
setMatchedUnits(Long matchedUnits)
Sets the matchedUnits value for this AvailabilityForecast.
|
void |
setOrderId(Long orderId)
Sets the orderId value for this AvailabilityForecast.
|
void |
setPossibleUnits(Long possibleUnits)
Sets the possibleUnits value for this AvailabilityForecast.
|
void |
setReservedUnits(Long reservedUnits)
Sets the reservedUnits value for this AvailabilityForecast.
|
void |
setTargetingCriteriaBreakdowns(int i,
TargetingCriteriaBreakdown _value) |
void |
setTargetingCriteriaBreakdowns(TargetingCriteriaBreakdown[] targetingCriteriaBreakdowns)
Sets the targetingCriteriaBreakdowns value for this AvailabilityForecast.
|
void |
setUnitType(UnitType unitType)
Sets the unitType value for this AvailabilityForecast.
|
String |
toString() |
public AvailabilityForecast()
public AvailabilityForecast(Long lineItemId, Long orderId, UnitType unitType, Long availableUnits, Long deliveredUnits, Long matchedUnits, Long possibleUnits, Long reservedUnits, TargetingCriteriaBreakdown[] targetingCriteriaBreakdowns, ContendingLineItem[] contendingLineItems, AlternativeUnitTypeForecast[] alternativeUnitTypeForecasts, GrpDemographicBreakdown[] demographicBreakdowns)
public Long getLineItemId()
LineItem
object it
represents, or null if the forecast represents
a prospective line item.public void setLineItemId(Long lineItemId)
lineItemId - * Uniquely identifies this availability 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 this line item
belongs to, 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 this line item
belongs to, 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 Goal.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 Goal.unitType for
both a set line
item or a prospective one.public Long getAvailableUnits()
Goal.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 Goal.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()
Goal.unitType, that
have already been served if the reservation is already running.public void setDeliveredUnits(Long deliveredUnits)
deliveredUnits - * The number of units, defined by Goal.unitType, that
have already been served if the reservation is already running.public Long getMatchedUnits()
Goal.unitType, that
match the
specified targeting and delivery settings.public void setMatchedUnits(Long matchedUnits)
matchedUnits - * The number of units, defined by Goal.unitType, that
match the
specified targeting and delivery settings.public Long getPossibleUnits()
Goal.unitType,
that could be booked by
taking inventory away from lower priority line items
and some same priority line items.
Please note: booking this number may cause lower priority line items and some same priority line items to underdeliver.
public void setPossibleUnits(Long possibleUnits)
possibleUnits - * The maximum number of units, defined by Goal.unitType,
that could be booked by
taking inventory away from lower priority line items
and some same priority line items.
Please note: booking this number may cause lower priority line items and some same priority line items to underdeliver.
public Long getReservedUnits()
Goal.unitType,
requested.
This can be an absolute or percentage value.public void setReservedUnits(Long reservedUnits)
reservedUnits - * The number of reserved units, defined by Goal.unitType,
requested.
This can be an absolute or percentage value.public TargetingCriteriaBreakdown[] getTargetingCriteriaBreakdowns()
public void setTargetingCriteriaBreakdowns(TargetingCriteriaBreakdown[] targetingCriteriaBreakdowns)
targetingCriteriaBreakdowns - * The forecast result broken down by the targeting of the forecasted
line item.public TargetingCriteriaBreakdown getTargetingCriteriaBreakdowns(int i)
public void setTargetingCriteriaBreakdowns(int i,
TargetingCriteriaBreakdown _value)
public ContendingLineItem[] getContendingLineItems()
contending line items for
this forecast.public void setContendingLineItems(ContendingLineItem[] contendingLineItems)
contendingLineItems - * List of contending line items for
this forecast.public ContendingLineItem getContendingLineItems(int i)
public void setContendingLineItems(int i,
ContendingLineItem _value)
public AlternativeUnitTypeForecast[] getAlternativeUnitTypeForecasts()
public void setAlternativeUnitTypeForecasts(AlternativeUnitTypeForecast[] alternativeUnitTypeForecasts)
alternativeUnitTypeForecasts - * Views of this forecast, with alternative unit types.public AlternativeUnitTypeForecast getAlternativeUnitTypeForecasts(int i)
public void setAlternativeUnitTypeForecasts(int i,
AlternativeUnitTypeForecast _value)
public GrpDemographicBreakdown[] getDemographicBreakdowns()
public void setDemographicBreakdowns(GrpDemographicBreakdown[] demographicBreakdowns)
demographicBreakdowns - * The forecast result broken down by demographics.public GrpDemographicBreakdown getDemographicBreakdowns(int i)
public void setDemographicBreakdowns(int i,
GrpDemographicBreakdown _value)
public 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.