PHP Class ConversionTrackerService, googleads-php-lib

Inheritance: extends AdWordsSoapClient
Show file Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Public Methods

Method Description
__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}.

Method Details

__construct() public method

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() public method

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
return List of conversion trackers specified by the selector.

mutate() public method

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
return The list of the conversion trackers as they appear after mutation, in the same order as they appeared in the list of operations.

query() public method

Returns a list of conversion trackers that match the query.
public query ( $query ) : A
return A list of conversion trackers.

Property Details

$classmap public static property

Default class map for wsdl=>php
public static array $classmap
return array

$endpoint public static property

The endpoint of the service
public static string $endpoint
return string