public class AlternativeUnitTypeForecast extends Object
For example, a forecast for an impressions goal may include this to express the matched, available, and possible viewable impressions.
Java class for AlternativeUnitTypeForecast complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AlternativeUnitTypeForecast">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="unitType" type="{https://www.google.com/apis/ads/publisher/v201711}UnitType" minOccurs="0"/>
<element name="matchedUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="availableUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="possibleUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
availableUnits |
protected Long |
matchedUnits |
protected Long |
possibleUnits |
protected UnitType |
unitType |
| Constructor and Description |
|---|
AlternativeUnitTypeForecast() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAvailableUnits()
Gets the value of the availableUnits property.
|
Long |
getMatchedUnits()
Gets the value of the matchedUnits property.
|
Long |
getPossibleUnits()
Gets the value of the possibleUnits property.
|
UnitType |
getUnitType()
Gets the value of the unitType property.
|
void |
setAvailableUnits(Long value)
Sets the value of the availableUnits property.
|
void |
setMatchedUnits(Long value)
Sets the value of the matchedUnits property.
|
void |
setPossibleUnits(Long value)
Sets the value of the possibleUnits property.
|
void |
setUnitType(UnitType value)
Sets the value of the unitType property.
|
protected UnitType unitType
protected Long matchedUnits
protected Long availableUnits
protected Long possibleUnits
public UnitType getUnitType()
UnitTypepublic void setUnitType(UnitType value)
value - allowed object is
UnitTypepublic Long getMatchedUnits()
Longpublic void setMatchedUnits(Long value)
value - allowed object is
Longpublic Long getAvailableUnits()
Longpublic void setAvailableUnits(Long value)
value - allowed object is
Longpublic Long getPossibleUnits()
LongCopyright © 2018. All Rights Reserved.