PHP Class GetAvailabilityForecastById, googleads-php-lib

An availability forecast reports the maximum number of available units that the line item can be booked with, and also the total number of units matching the line item's targeting.

Only line items having type {@link LineItemType#SPONSORSHIP} or {@link LineItemType#STANDARD} are valid. Other types will result in {@link ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED}.

Note: Beginning in v201502, this replaces the previous getForecastById method.

Mostrar archivo Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$forecastOptions AvailabilityForecastOptions
$lineItemId integer

Public Methods

Method Description
__construct ( $lineItemId = null, $forecastOptions = null )
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

Method Details

__construct() public method

public __construct ( $lineItemId = null, $forecastOptions = null )

getNamespace() public method

Gets the namesapce of this class
public getNamespace ( ) : string
return string the namespace of this class

getXsiTypeName() public method

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
return string the xsi:type name of this class

Property Details

$forecastOptions public_oe property

public AvailabilityForecastOptions $forecastOptions
return AvailabilityForecastOptions

$lineItemId public_oe property

public int $lineItemId
return integer