PHP Class AdWordsSoapClient, googleads-php-lib

Inheritance: extends AdsSoapClient
Afficher le fichier Open project: googleads/googleads-php-lib Class Usage Examples

Méthodes publiques

Méthode Description
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 )

Méthodes protégées

Méthode Description
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 )

Method Details

GenerateRequestInfoMessage() protected méthode

Generates the request info message containing:
  • effectiveUser
  • service
  • method
  • operators
  • responseTime
  • requestId
  • operations
  • units
  • server
  • isFault
  • faultMessage
protected GenerateRequestInfoMessage ( ) : string
Résultat string the request info message to log

GenerateSoapHeader() protected méthode

Generates the SOAP header for the client.
protected GenerateSoapHeader ( ) : SoapHeader
Résultat SoapHeader the instantiated SoapHeader ready to set

GetEffectiveUser() public méthode

Gets the effective user the request was made against.
public GetEffectiveUser ( ) : string
Résultat string the effective user the request was made against

GetLastOperations() public méthode

Gets the last number of operations.
public GetLastOperations ( ) : string
Résultat string the last number of operations

GetLastOperators() public méthode

Gets the last set of operators the last call in the form of "operator1,operator2".
public GetLastOperators ( ) : string
Résultat string the last set of operators

GetLastUnits() public méthode

Gets the last number of units.
public GetLastUnits ( ) : string
Résultat string the last number of units

RemoveSensitiveInfo() protected méthode

See also: AdsSoapClient::RemoveSensitiveInfo()
protected RemoveSensitiveInfo ( $request )

__construct() public méthode

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() public méthode

See also: SoapClient::__doRequest
public __doRequest ( $request, $location, $action, $version, $one_way )

__soapCall() public méthode

See also: SoapClient::__soapCall
public __soapCall ( $function_name, $arguments, $options = null, $input_headers = null, &$output_headers = null )