DEFAULT_SOAP_CALL_TIMEOUT
DEFAULT_SOAP_CALL_TIMEOUT
Creates SOAP clients that interface with ads APIs. These SOAP clients extend `AdsSoapClient`. For example, the Ad Manager `LineItemService` or the AdWords `CampaignService`.
__construct(\Google\AdsApi\Common\SoapLogMessageFormatter $soapLogMessageFormatter,\Google\AdsApi\Common\Util\Reflection|null $reflection = null,integer|null $soapCallTimeout = null)
Creates a new instance of this factory with the specified SOAP log formatter.
\Google\AdsApi\Common\SoapLogMessageFormatter | $soapLogMessageFormatter | |
\Google\AdsApi\Common\Util\Reflection|null | $reflection | |
integer|null | $soapCallTimeout | the time in seconds to wait for a SOAP call to connect to the service and respond before timing out |
generateSoapClient(\Google\AdsApi\Common\AdsSession $session,\Google\AdsApi\Common\AdsHeaderHandler $headerHandler,\Google\AdsApi\Common\AdsServiceDescriptor $serviceDescriptor): \SoapClient
Generates a SOAP client that interfaces with the specified service using configuration data from the specified ads session.
\Google\AdsApi\Common\AdsSession | $session | the session to read configuration information from |
\Google\AdsApi\Common\AdsHeaderHandler | $headerHandler | the header handler that will generate HTTP and SOAP headers |
\Google\AdsApi\Common\AdsServiceDescriptor | $serviceDescriptor | descriptor for the service the SOAP client is being generated to interface with |
if the SOAP client could not be generated
a SOAP client
populateOptions(\Google\AdsApi\Common\AdsSession $session,array $options,\Google\AdsApi\Common\SoapSettings $soapSettings = null)
\Google\AdsApi\Common\AdsSession | $session | |
array | $options | |
\Google\AdsApi\Common\SoapSettings | $soapSettings |