\Google\AdsApi\CommonConnectionSettings

Settings for making SOAP and non-SOAP connections to the API servers.

Summary

Methods
Properties
Constants
__construct()
getProxyUrl()
isReportingGzipEnabled()
getProxyParts()
No public properties found
PROXY_REGEX_PATTERN
No protected methods found
No protected properties found
N/A
No private methods found
$proxyUrl
$isReportingGzipEnabled
N/A

Constants

PROXY_REGEX_PATTERN

PROXY_REGEX_PATTERN

Properties

$proxyUrl

$proxyUrl :

Type

$isReportingGzipEnabled

$isReportingGzipEnabled :

Type

Methods

__construct()

__construct(\Google\AdsApi\Common\ConnectionSettingsBuilder  $builder)

Creates a connection settings instance from the specified builder.

Do not use this constructor, instances should be created by using the ConnectionSettingsBuilder instead.

Parameters

\Google\AdsApi\Common\ConnectionSettingsBuilder $builder

the builder to create an instance of this connection settings from

getProxyUrl()

getProxyUrl(): string|null

Gets the proxy URL.

Returns

string|null

isReportingGzipEnabled()

isReportingGzipEnabled(): boolean|null

Whether gzip compression is enabled for reporting requests.

Returns

boolean|null

getProxyParts()

getProxyParts(): array

Gets the proxy information as parts (username, password, host, port).

Returns

array —

the proxy information as an array