PHP Class AccountLabelService, googleads-php-lib

Inheritance: extends AdWordsSoapClient
Afficher le fichier Open project: googleads/googleads-php-lib

Méthodes publiques

Свойство Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Méthodes publiques

Méthode Description
__construct ( string $wsdl, array $options, $user ) Constructor using wsdl location and options array
get ( $selector ) : response Returns a list of labels specified by the selector for the authenticated user.
mutate ( $operations ) : the 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.

Method Details

__construct() public méthode

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 méthode

Returns a list of labels specified by the selector for the authenticated user.
public get ( $selector ) : response
Résultat response containing lists of labels that meet all the criteria of the selector

mutate() public méthode

Possible actions:
  • Create a new label - create a new {@link Label} and call mutate with ADD operator
  • Edit the label name - set the appropriate fields in your {@linkplain Label} and call mutate with the SET operator. Null fields will be interpreted to mean "no change"
  • Delete the label - call mutate with REMOVE operator
public mutate ( $operations ) : the
Résultat the mutated labels, in the same order that they were in as the parameter

Property Details

$classmap public_oe static_oe property

Default class map for wsdl=>php
public static array $classmap
Résultat array

$endpoint public_oe static_oe property

The endpoint of the service
public static string $endpoint
Résultat string