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.

Afficher le fichier Open project: googleads/googleads-php-lib

Méthodes publiques

Свойство Type Description
$forecastOptions AvailabilityForecastOptions
$lineItemId integer

Méthodes publiques

Méthode 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 méthode

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

getNamespace() public méthode

Gets the namesapce of this class
public getNamespace ( ) : string
Résultat string the namespace of this class

getXsiTypeName() public méthode

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
Résultat string the xsi:type name of this class

Property Details

$forecastOptions public_oe property

public AvailabilityForecastOptions $forecastOptions
Résultat AvailabilityForecastOptions

$lineItemId public_oe property

public int $lineItemId
Résultat integer