public class AvailabilityForecast extends Object
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.
Java class for AvailabilityForecast complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AvailabilityForecast">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lineItemId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="orderId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="unitType" type="{https://www.google.com/apis/ads/publisher/v201802}UnitType" minOccurs="0"/>
<element name="availableUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="deliveredUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="matchedUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="possibleUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="reservedUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="targetingCriteriaBreakdowns" type="{https://www.google.com/apis/ads/publisher/v201802}TargetingCriteriaBreakdown" maxOccurs="unbounded" minOccurs="0"/>
<element name="contendingLineItems" type="{https://www.google.com/apis/ads/publisher/v201802}ContendingLineItem" maxOccurs="unbounded" minOccurs="0"/>
<element name="alternativeUnitTypeForecasts" type="{https://www.google.com/apis/ads/publisher/v201802}AlternativeUnitTypeForecast" maxOccurs="unbounded" minOccurs="0"/>
<element name="demographicBreakdowns" type="{https://www.google.com/apis/ads/publisher/v201802}GrpDemographicBreakdown" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AlternativeUnitTypeForecast> |
alternativeUnitTypeForecasts |
protected Long |
availableUnits |
protected List<ContendingLineItem> |
contendingLineItems |
protected Long |
deliveredUnits |
protected List<GrpDemographicBreakdown> |
demographicBreakdowns |
protected Long |
lineItemId |
protected Long |
matchedUnits |
protected Long |
orderId |
protected Long |
possibleUnits |
protected Long |
reservedUnits |
protected List<TargetingCriteriaBreakdown> |
targetingCriteriaBreakdowns |
protected UnitType |
unitType |
| Constructor and Description |
|---|
AvailabilityForecast() |
| Modifier and Type | Method and Description |
|---|---|
List<AlternativeUnitTypeForecast> |
getAlternativeUnitTypeForecasts()
Gets the value of the alternativeUnitTypeForecasts property.
|
Long |
getAvailableUnits()
Gets the value of the availableUnits property.
|
List<ContendingLineItem> |
getContendingLineItems()
Gets the value of the contendingLineItems property.
|
Long |
getDeliveredUnits()
Gets the value of the deliveredUnits property.
|
List<GrpDemographicBreakdown> |
getDemographicBreakdowns()
Gets the value of the demographicBreakdowns property.
|
Long |
getLineItemId()
Gets the value of the lineItemId property.
|
Long |
getMatchedUnits()
Gets the value of the matchedUnits property.
|
Long |
getOrderId()
Gets the value of the orderId property.
|
Long |
getPossibleUnits()
Gets the value of the possibleUnits property.
|
Long |
getReservedUnits()
Gets the value of the reservedUnits property.
|
List<TargetingCriteriaBreakdown> |
getTargetingCriteriaBreakdowns()
Gets the value of the targetingCriteriaBreakdowns property.
|
UnitType |
getUnitType()
Gets the value of the unitType property.
|
void |
setAvailableUnits(Long value)
Sets the value of the availableUnits property.
|
void |
setDeliveredUnits(Long value)
Sets the value of the deliveredUnits property.
|
void |
setLineItemId(Long value)
Sets the value of the lineItemId property.
|
void |
setMatchedUnits(Long value)
Sets the value of the matchedUnits property.
|
void |
setOrderId(Long value)
Sets the value of the orderId property.
|
void |
setPossibleUnits(Long value)
Sets the value of the possibleUnits property.
|
void |
setReservedUnits(Long value)
Sets the value of the reservedUnits property.
|
void |
setUnitType(UnitType value)
Sets the value of the unitType property.
|
protected Long lineItemId
protected Long orderId
protected UnitType unitType
protected Long availableUnits
protected Long deliveredUnits
protected Long matchedUnits
protected Long possibleUnits
protected Long reservedUnits
protected List<TargetingCriteriaBreakdown> targetingCriteriaBreakdowns
protected List<ContendingLineItem> contendingLineItems
protected List<AlternativeUnitTypeForecast> alternativeUnitTypeForecasts
protected List<GrpDemographicBreakdown> demographicBreakdowns
public Long getLineItemId()
Longpublic void setLineItemId(Long value)
value - allowed object is
Longpublic Long getOrderId()
Longpublic void setOrderId(Long value)
value - allowed object is
Longpublic UnitType getUnitType()
UnitTypepublic void setUnitType(UnitType value)
value - allowed object is
UnitTypepublic Long getAvailableUnits()
Longpublic void setAvailableUnits(Long value)
value - allowed object is
Longpublic Long getDeliveredUnits()
Longpublic void setDeliveredUnits(Long value)
value - allowed object is
Longpublic Long getMatchedUnits()
Longpublic void setMatchedUnits(Long value)
value - allowed object is
Longpublic Long getPossibleUnits()
Longpublic void setPossibleUnits(Long value)
value - allowed object is
Longpublic Long getReservedUnits()
Longpublic void setReservedUnits(Long value)
value - allowed object is
Longpublic List<TargetingCriteriaBreakdown> getTargetingCriteriaBreakdowns()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the targetingCriteriaBreakdowns property.
For example, to add a new item, do as follows:
getTargetingCriteriaBreakdowns().add(newItem);
Objects of the following type(s) are allowed in the list
TargetingCriteriaBreakdown
public List<ContendingLineItem> getContendingLineItems()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the contendingLineItems property.
For example, to add a new item, do as follows:
getContendingLineItems().add(newItem);
Objects of the following type(s) are allowed in the list
ContendingLineItem
public List<AlternativeUnitTypeForecast> getAlternativeUnitTypeForecasts()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the alternativeUnitTypeForecasts property.
For example, to add a new item, do as follows:
getAlternativeUnitTypeForecasts().add(newItem);
Objects of the following type(s) are allowed in the list
AlternativeUnitTypeForecast
public List<GrpDemographicBreakdown> getDemographicBreakdowns()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the demographicBreakdowns property.
For example, to add a new item, do as follows:
getDemographicBreakdowns().add(newItem);
Objects of the following type(s) are allowed in the list
GrpDemographicBreakdown
Copyright © 2018. All Rights Reserved.