PHP Класс AdParamService, 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}.
mutate ( $operations ) : A 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: 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() публичный Метод

Returns the ad parameters that match the criteria specified in the selector.
public get ( $serviceSelector ) : A
Результат A list of ad parameters.

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

Sets and removes ad parameters.

Note: {@code ADD} is not supported. Use {@code SET} for new ad parameters.

  • {@code SET}: Creates or updates an ad parameter, setting the new parameterized value for the given ad group / keyword pair.
  • {@code REMOVE}: Removes an ad parameter. The default-value specified in the ad text will be used.
public mutate ( $operations ) : A
Результат A list of ad parameters, where each entry in the list is the result of applying the operation in the input list with the same index. For a {@code SET} operation, the returned ad parameter will contain the updated values. For a {@code REMOVE} operation, the returned ad parameter will simply be the ad parameter that was removed.

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

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

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

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

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