PHP Class LabelService, googleads-php-lib

Author: WSDLInterpreter
Inheritance: extends DfpSoapClient
Afficher le fichier Open project: googleads/googleads-php-lib Class Usage Examples

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
createLabels ( $labels ) : the Creates new {@link Label} objects.
get ( $serviceSelector ) : The This field is required and should not be {@code null}.
getLabelsByStatement ( $filterStatement ) : the Gets a {@link LabelPage} of {@link Label} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
mutate ( $operations ) : The This field must not contain {@code null} elements. Elements in this field must have distinct IDs for following {@link Operator}s : ADD, 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, REMOVE.
performLabelAction ( $labelAction, $filterStatement ) : the Performs actions on {@link Label} objects that match the given {@link Statement#query}.
query ( $query ) This field is required and should not be {@code null}.
updateLabels ( $labels ) : the Updates the specified {@link Label} objects.

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

createLabels() public méthode

Creates new {@link Label} objects.
public createLabels ( $labels ) : the
Résultat the created labels with their IDs filled in

get() public méthode

Returns a list of {@link Label}s.
public get ( $serviceSelector ) : The
Résultat The page containing the {@link Label}s which meet the criteria specified by the selector.

getLabelsByStatement() public méthode

PQL Property Object Property
{@code id} {@link Label#id}
{@code type} {@link Label#type}
{@code name} {@link Label#name}
{@code description} {@link Label#description}
{@code isActive} {@link Label#isActive}
public getLabelsByStatement ( $filterStatement ) : the
Résultat the labels that match the given filter

mutate() public méthode

Applies the list of mutate operations.
public mutate ( $operations ) : The
Résultat The applied {@link Label}s.

performLabelAction() public méthode

Performs actions on {@link Label} objects that match the given {@link Statement#query}.
public performLabelAction ( $labelAction, $filterStatement ) : the
Résultat the result of the action performed

query() public méthode

Returns the list of {@link Label}s that match the query.
public query ( $query )

updateLabels() public méthode

Updates the specified {@link Label} objects.
public updateLabels ( $labels ) : the
Résultat the updated labels

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