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.

파일 보기 프로젝트 열기: googleads/googleads-php-lib

공개 프로퍼티들

프로퍼티 타입 설명
$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