PHP Class AdwordsUserListService, 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 ) : a This field is required and should not be {@code null}.
mutate ( $operations ) : a The minimum size of this collection is 1. The maximum size of this collection is 10000. This field must not contain {@code null} elements. This field is required and should not be {@code null}. The following {@link Operator}s are supported: ADD, SET.
mutateMembers ( $operations ) : a The minimum size of this collection is 1. The maximum size of this collection is 10000. This field must not contain {@code null} elements. This field is required and should not be {@code null}. The following {@link Operator}s are supported: ADD, REMOVE.
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 the list of user lists that meet the selector criteria.
public get ( $serviceSelector ) : a
return a list of UserList entities which meet the selector criteria.

mutate() public method

Applies a list of mutate operations (i.e. add, set): Add - creates a set of user lists Set - updates a set of user lists Remove - not supported
public mutate ( $operations ) : a
return a list of UserList objects

mutateMembers() public method

Mutate members of user lists by either adding or removing their lists of members. The following {@link Operator}s are supported: ADD and REMOVE.

Note that operations cannot have same user list id but different operators.

public mutateMembers ( $operations ) : a
return a list of UserList objects

query() public method

Returns the list of user lists that match the query.
public query ( $query ) : A
return A list of UserList

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