class AdwordsSession (View source)

Properties

protected $oAuth2Credential
protected mixed $adsConfig Adwords config data based on the environment.

Methods

__construct($oAuth2Credential = null, null $env = null)

AdwordsSession constructor.

$this
oAuth(null $env = null, array|null $data = [])

Create OAuth2 credential

mixed
build(array $data = [])

Construct an API session configured from global config data file or passed data

Details

__construct($oAuth2Credential = null, null $env = null)

AdwordsSession constructor.

Parameters

$oAuth2Credential
null $env

$this oAuth(null $env = null, array|null $data = [])

Create OAuth2 credential

Parameters

null $env
array|null $data

Return Value

$this

mixed build(array $data = [])

Construct an API session configured from global config data file or passed data

Parameters

array $data

Return Value

mixed