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

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

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

Свойство Тип Описание
$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
get ( $serviceSelector ) : A This field is required and should not be {@code null}.
getBillingAccounts ( ) : A Returns all the open/active BillingAccounts associated with the current manager.
mutate ( $operations ) : BudgetOrders This field must not contain {@code null} elements. This field must contain at least one element. This field is required and should not be {@code null}. The following {@link Operator}s are supported: ADD, SET, REMOVE.

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

__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

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

Gets a list of {@link BudgetOrder}s using the generic selector.
public get ( $serviceSelector ) : A
Результат A {@link BudgetOrderPage} of BudgetOrders of the client customer. All BudgetOrder fields are returned. Stats are not yet supported.

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

Returns all the open/active BillingAccounts associated with the current manager.
public getBillingAccounts ( ) : A
Результат A list of {@link BillingAccount}s.

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

Mutates BudgetOrders, supported operations are:

ADD: Adds a {@link BudgetOrder} to the billing account specified by the billing account ID.

SET: Sets the start/end date and amount of the {@link BudgetOrder}.

REMOVE: Cancels the {@link BudgetOrder} (status change).

Warning: The BudgetOrderService is limited to one operation per mutate request. Any attempt to make more than one operation will result in an ApiException.

public mutate ( $operations ) : BudgetOrders
Результат BudgetOrders affected by the mutate operation.

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

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

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

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

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