PHP Class ExperimentService, googleads-php-lib

Inheritance: extends AdWordsSoapClient
显示文件 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.

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 experiments specified by the experiment selector from the customer's account.
public get ( $serviceSelector ) : List
return List of experiments meeting all the criteria of each selector.

mutate() public method

Mutates (add, update or remove) experiments. Note: To REMOVE use SET and mark status to REMOVED.
public mutate ( $operations ) : The
return The updated experiments. The list of experiments is returned in the same order in which it came in as input.

Property Details

$classmap public_oe static_oe property

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

$endpoint public_oe static_oe property

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