PHP Класс 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.

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$forecastOptions AvailabilityForecastOptions
$lineItemId integer

Открытые методы

Метод Описание
__construct ( $lineItemId = null, $forecastOptions = null )
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

Описание методов

__construct() публичный Метод

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

getNamespace() публичный Метод

Gets the namesapce of this class
public getNamespace ( ) : string
Результат string the namespace of this class

getXsiTypeName() публичный Метод

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
Результат string the xsi:type name of this class

Описание свойств

$forecastOptions публичное свойство

public AvailabilityForecastOptions $forecastOptions
Результат AvailabilityForecastOptions

$lineItemId публичное свойство

public int $lineItemId
Результат integer