PHP Class CompanyService, googleads-php-lib

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
createCompanies ( $companies ) : the Creates new {@link Company} objects.
getCompaniesByStatement ( $filterStatement ) : the Gets a {@link CompanyPage} of {@link Company} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updateCompanies ( $companies ) : the Updates the specified {@link Company} 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

createCompanies() public méthode

Creates new {@link Company} objects.
public createCompanies ( $companies ) : the
Résultat the created companies with their IDs filled in

getCompaniesByStatement() public méthode

PQL Property Object Property
{@code id} {@link Company#id}
{@code name} {@link Company#name}
{@code type} {@link Company#type}
{@code lastModifiedDateTime} {@link Company#lastModifiedDateTime}
public getCompaniesByStatement ( $filterStatement ) : the
Résultat the companies that match the given filter

updateCompanies() public méthode

Updates the specified {@link Company} objects.
public updateCompanies ( $companies ) : the
Résultat the updated companies

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