$SOAP_FAULT_NAME_TO_TYPE_MAP
$SOAP_FAULT_NAME_TO_TYPE_MAP :
Prepares and logs SOAP requests and responses for ads APIs.
__construct(string $wsdl,array|null $options = null)
Creates a new instance of this SOAP client to interface with the specified WSDL (service). Do not use this constructor, instances should be created using `AdsSoapClientFactory` instead.
string | $wsdl | URI of the WSDL file or null if working in non-WSDL mode |
array|null | $options | the SOAP client options |
getSoapLogMessageFormatter(): \Google\AdsApi\Common\SoapLogMessageFormatter
Gets the SOAP log message formatter.
setSoapLogMessageFormatter(\Google\AdsApi\Common\SoapLogMessageFormatter $soapLogMessageFormatter)
Sets the SOAP log message formatter.
\Google\AdsApi\Common\SoapLogMessageFormatter | $soapLogMessageFormatter |
getAdsSession(): \Google\AdsApi\Common\AdsSession
Gets the ads session for this client.
setAdsSession(\Google\AdsApi\Common\AdsSession $session)
Sets the ads session.
\Google\AdsApi\Common\AdsSession | $session |
getHeaderHandler(): \Google\AdsApi\Common\AdsHeaderHandler
Gets the header handler for this client.
setHeaderHandler(\Google\AdsApi\Common\AdsHeaderHandler $headerHandler)
Sets the header handler.
\Google\AdsApi\Common\AdsHeaderHandler | $headerHandler |
getServiceDescriptor(): \Google\AdsApi\Common\AdsServiceDescriptor
Gets the service descriptor for this client.
setServiceDescriptor(\Google\AdsApi\Common\AdsServiceDescriptor $serviceDescriptor)
Sets the service descriptor.
\Google\AdsApi\Common\AdsServiceDescriptor | $serviceDescriptor |