GoogleAds
class GoogleAds (View source)
Properties
protected mixed | $config | Full config data. | |
protected | $env | Environment => test/production | |
protected | $userCredentials | oAuth UserRefreshCredentials | |
protected | $session | Session. | |
protected | $service | Service |
Methods
__construct(null $env = null)
GoogleAds constructor.
$this
oAuth(array $data = [])
Generate User Credentials.
$this
session(array $data = [])
No description
adGroupService()
AdGroupService
adGroupAdService()
AdGroupAdService
campaignService()
CampaignService
array
showReportTypes()
Show a list of report types
array
showReportFormats()
Show a list of report formats.
mixed
getService()
Get the service.
getSession()
Get the session.
UserRefreshCredentials
getUserCredentials()
Get UserRefreshCredentials
$this
env($env)
Set the environment to work with.
null
getEnv()
Get the environment.
Details
at line 54
__construct(null $env = null)
GoogleAds constructor.
at line 67
$this
oAuth(array $data = [])
Generate User Credentials.
at line 78
$this
session(array $data = [])
at line 166
array
showReportTypes()
Show a list of report types
at line 175
array
showReportFormats()
Show a list of report formats.
at line 189
mixed
getService()
Get the service.
at line 199
AdwordsSession
getSession()
Get the session.
at line 209
UserRefreshCredentials
getUserCredentials()
Get UserRefreshCredentials
at line 220
$this
env($env)
Set the environment to work with.
at line 230
null
getEnv()
Get the environment.