PHP Class TeamService, googleads-php-lib

Show file Open project: googleads/googleads-php-lib Class Usage Examples

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
createTeams ( $teams ) : the Creates new {@link Team} objects.
getTeamsByStatement ( $filterStatement ) : the Gets a {@code TeamPage} of {@code Team} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updateTeams ( $teams ) : the Updates the specified {@link Team} objects.

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

createTeams() public method

The following fields are required:
  • {@link Team#name}
public createTeams ( $teams ) : the
return the created teams with their IDs filled in

getTeamsByStatement() public method

PQL Property Object Property
{@code id} {@link Team#id}
{@code name} {@link Team#name}
{@code description} {@link Team#description}
public getTeamsByStatement ( $filterStatement ) : the
return the teams that match the given filter

updateTeams() public method

Updates the specified {@link Team} objects.
public updateTeams ( $teams ) : the
return the updated teams

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