PHP Class CompanyService, googleads-php-lib

ファイルを表示 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
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 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

createCompanies() public method

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

getCompaniesByStatement() public method

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
return the companies that match the given filter

updateCompanies() public method

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

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