\Google\AdsApi\CommonAdsSession

A session for using an ads API.

Summary

Methods
Constants
getSoapLogger()
getEndpoint()
getOAuth2Credential()
getSoapSettings()
getConnectionSettings()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getSoapLogger()

getSoapLogger(): \Psr\Log\LoggerInterface

Gets the PSR-3 compliant logger that logs SOAP messages for this session.

Returns

\Psr\Log\LoggerInterface —

the non-null logger

getEndpoint()

getEndpoint(): string

Gets the server endpoint to make API requests against.

Returns

string —

the non-null server endpoint

getOAuth2Credential()

getOAuth2Credential(): \Google\Auth\FetchAuthTokenInterface

Gets the Google OAuth2 credential for authenticating API requests.

Returns

\Google\Auth\FetchAuthTokenInterface —

the non-null Google OAuth2 credential

getSoapSettings()

getSoapSettings(): \Google\AdsApi\Common\SoapSettings

Gets the SOAP settings to apply to API requests.

Returns

\Google\AdsApi\Common\SoapSettings

the non-null SOAP settings

getConnectionSettings()

getConnectionSettings(): \Google\AdsApi\Common\ConnectionSettings

Gets the connection settings to apply to API requests.

Returns

\Google\AdsApi\Common\ConnectionSettings

the non-null connection settings