PHP Класс ForecastService, googleads-php-lib

Автор: WSDLInterpreter
Наследование: extends DfpSoapClient
Показать файл Открыть проект

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

Свойство Тип Описание
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

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

Метод Описание
__construct ( string $wsdl, array $options, $user ) Constructor using wsdl location and options array
getAvailabilityForecast ( $lineItem, $forecastOptions ) Gets the availability forecast for a {@link ProspectiveLineItem}. An availability forecast reports the maximum number of available units that the line item can book, and the total number of units matching the line item's targeting.
getAvailabilityForecastById ( $lineItemId, $forecastOptions ) Gets an {@link AvailabilityForecast} for an existing {@link LineItem} object.
getDeliveryForecast ( $lineItems, $forecastOptions ) Gets the delivery forecast for a list of {@link ProspectiveLineItem} objects in a single delivery simulation with line items potentially contending with each other. A delivery forecast reports the number of units that will be delivered to each line item given the line item goals and contentions from other line items.
getDeliveryForecastByIds ( $lineItemIds, $forecastOptions ) Gets the delivery forecast for a list of existing {@link LineItem} objects in a single delivery simulation with line items potentially contending with each other. A delivery forecast reports the number of units that will be delivered to each line item given the line item goals and contentions from other line items.

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

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

Constructor using wsdl location and options array
public __construct ( string $wsdl, array $options, $user )
$wsdl string WSDL location for this service
$options array Options for the SoapClient

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

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

public getAvailabilityForecast ( $lineItem, $forecastOptions )

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

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.

public getAvailabilityForecastById ( $lineItemId, $forecastOptions )

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

Gets the delivery forecast for a list of {@link ProspectiveLineItem} objects in a single delivery simulation with line items potentially contending with each other. A delivery forecast reports the number of units that will be delivered to each line item given the line item goals and contentions from other line items.
public getDeliveryForecast ( $lineItems, $forecastOptions )

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

Gets the delivery forecast for a list of existing {@link LineItem} objects in a single delivery simulation with line items potentially contending with each other. A delivery forecast reports the number of units that will be delivered to each line item given the line item goals and contentions from other line items.
public getDeliveryForecastByIds ( $lineItemIds, $forecastOptions )

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

$classmap публичное статическое свойство

Default class map for wsdl=>php
public static array $classmap
Результат array

$endpoint публичное статическое свойство

The endpoint of the service
public static string $endpoint
Результат string