Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AlternativeUnitTypeForecast.
Views of this forecast, with alternative unit types.
Generated from protobuf message google.ads.admanager.v1.AlternativeUnitTypeForecast
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ unit_type |
int
The alternative unit type being presented. |
↳ matched_units |
int|string
The number of units matching the specified targeting and delivery settings. |
↳ available_units |
int|string
The number of units that can be booked without affecting the delivery of any reserved line items. |
↳ possible_units |
int|string
The number of units that can be booked without affecting the delivery of any reserved line items or lower priority line items. |
getUnitType
The alternative unit type being presented.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasUnitType
clearUnitType
setUnitType
The alternative unit type being presented.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMatchedUnits
The number of units matching the specified targeting and delivery settings.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasMatchedUnits
clearMatchedUnits
setMatchedUnits
The number of units matching the specified targeting and delivery settings.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAvailableUnits
The number of units that can be booked without affecting the delivery of any reserved line items.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasAvailableUnits
clearAvailableUnits
setAvailableUnits
The number of units that can be booked without affecting the delivery of any reserved line items.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPossibleUnits
The number of units that can be booked without affecting the delivery of any reserved line items or lower priority line items.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasPossibleUnits
clearPossibleUnits
setPossibleUnits
The number of units that can be booked without affecting the delivery of any reserved line items or lower priority line items.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|