PHP Класс AdWordsSoapClient, googleads-php-lib

Наследование: extends AdsSoapClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetEffectiveUser ( ) : string Gets the effective user the request was made against.
GetLastOperations ( ) : string Gets the last number of operations.
GetLastOperators ( ) : string Gets the last set of operators the last call in the form of "operator1,operator2".
GetLastUnits ( ) : string Gets the last number of units.
__construct ( string $wsdl, array $options, AdsUser $user, string $serviceName, string $serviceNamespace ) Constructor for the AdWords API SOAP client.
__doRequest ( $request, $location, $action, $version, $one_way )
__soapCall ( $function_name, $arguments, $options = null, $input_headers = null, &$output_headers = null )

Защищенные методы

Метод Описание
GenerateRequestInfoMessage ( ) : string Generates the request info message containing:
  • effectiveUser
  • service
  • method
  • operators
  • responseTime
  • requestId
  • operations
  • units
  • server
  • isFault
  • faultMessage
GenerateSoapHeader ( ) : SoapHeader Generates the SOAP header for the client.
RemoveSensitiveInfo ( $request )

Описание методов

GenerateRequestInfoMessage() защищенный Метод

Generates the request info message containing:
  • effectiveUser
  • service
  • method
  • operators
  • responseTime
  • requestId
  • operations
  • units
  • server
  • isFault
  • faultMessage
protected GenerateRequestInfoMessage ( ) : string
Результат string the request info message to log

GenerateSoapHeader() защищенный Метод

Generates the SOAP header for the client.
protected GenerateSoapHeader ( ) : SoapHeader
Результат SoapHeader the instantiated SoapHeader ready to set

GetEffectiveUser() публичный Метод

Gets the effective user the request was made against.
public GetEffectiveUser ( ) : string
Результат string the effective user the request was made against

GetLastOperations() публичный Метод

Gets the last number of operations.
public GetLastOperations ( ) : string
Результат string the last number of operations

GetLastOperators() публичный Метод

Gets the last set of operators the last call in the form of "operator1,operator2".
public GetLastOperators ( ) : string
Результат string the last set of operators

GetLastUnits() публичный Метод

Gets the last number of units.
public GetLastUnits ( ) : string
Результат string the last number of units

RemoveSensitiveInfo() защищенный Метод

См. также: AdsSoapClient::RemoveSensitiveInfo()
protected RemoveSensitiveInfo ( $request )

__construct() публичный Метод

Constructor for the AdWords API SOAP client.
public __construct ( string $wsdl, array $options, AdsUser $user, string $serviceName, string $serviceNamespace )
$wsdl string URI of the WSDL file or null if working in non-WSDL mode
$options array the SOAP client options
$user AdsUser the user which is responsible for this client
$serviceName string the name of the service which is making this call
$serviceNamespace string the namespace of the service

__doRequest() публичный Метод

См. также: SoapClient::__doRequest
public __doRequest ( $request, $location, $action, $version, $one_way )

__soapCall() публичный Метод

См. также: SoapClient::__soapCall
public __soapCall ( $function_name, $arguments, $options = null, $input_headers = null, &$output_headers = null )