PHP Класс ConversionTrackerService, 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 ) : List This field is required and should not be {@code null}.
mutate ( $operations ) : The This field must not contain {@code null} elements. Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. 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.
query ( $query ) : A This field is required and should not be {@code null}.

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

__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 a list of the conversion trackers that match the selector. The actual objects contained in the page's list of entries will be specific subclasses of the abstract {@link ConversionTracker} class.
public get ( $serviceSelector ) : List
Результат List of conversion trackers specified by the selector.

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

Applies the list of mutate operations such as adding or updating conversion trackers.

Note: {@link ConversionTrackerOperation} does not support the REMOVE operator. In order to 'disable' a conversion type, send a SET operation for the conversion tracker with the status property set to DISABLED

You can mutate any ConversionTracker that belongs to your account. You may not mutate a ConversionTracker that belongs to some other account. You may not directly mutate a system-defined ConversionTracker, but you can create a mutable copy of it in your account by sending a mutate request with an ADD operation specifying an originalConversionTypeId matching a system-defined conversion tracker's ID. That new ADDed ConversionTracker will inherit the statistics and properties of the system-defined type, but will be editable as usual.

public mutate ( $operations ) : The
Результат The list of the conversion trackers as they appear after mutation, in the same order as they appeared in the list of operations.

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

Returns a list of conversion trackers that match the query.
public query ( $query ) : A
Результат A list of conversion trackers.

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

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

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

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

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