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 |
public function __construct($wsdl, array $options, AdsUser $user, $serviceName, $serviceNamespace)
{
parent::__construct($wsdl, $options, $user, $serviceName, $serviceNamespace);
}
/** * Constructor using wsdl location and options array * @param string $wsdl WSDL location for this service * @param array $options Options for the SoapClient */ public function __construct($wsdl = null, $options, $user) { $options["classmap"] = TrafficEstimatorService::$classmap; parent::__construct($wsdl, $options, $user, 'TrafficEstimatorService', 'https://adwords.google.com/api/adwords/o/v201209'); }