Method to retrieve a list of AdSense Channel URLs
mixed
generateReport
(string $accountID, mixed $start, [mixed $end = false], [array $options = array()], [int $maxpages = 1])
-
string
$accountID: ID of account
-
mixed
$start: Start day
-
mixed
$end: End day
-
array
$options: Search settings
-
int
$maxpages: Maximum number of pages of accounts to return
Method to get an Adsense account's settings from Google
mixed
getAccount
(string $accountID, [boolean $subaccounts = true])
-
string
$accountID: ID of account to get
-
boolean
$subaccounts: Include list of subaccounts
Method to get an Adsense Channel
mixed
getChannel
(string $accountID, string $adclientID, string $channelID)
-
string
$accountID: ID of account to get
-
string
$adclientID: ID of client to get
-
string
$channelID: ID of channel to get
Method to get an AdSense AdUnit
mixed
getUnit
(string $accountID, string $adclientID, string $adunitID)
-
string
$accountID: ID of account to get
-
string
$adclientID: ID of client to get
-
string
$adunitID: ID of adunit to get
Method to retrieve a list of AdSense accounts from Google
mixed
listAccounts
([array $options = array()], [int $maxpages = 1])
-
array
$options: Search settings
-
int
$maxpages: Maximum number of pages of accounts to return
Method to retrieve a list of AdSense Custom Channels
mixed
listChannels
(string $accountID, string $adclientID, [array $options = array()], [int $maxpages = 1])
-
string
$accountID: ID of account
-
string
$adclientID: ID of client to list channels from
-
array
$options: Search settings
-
int
$maxpages: Maximum number of pages of accounts to return
Method to retrieve a list of AdSense Adunits for a specific Custom Channel
mixed
listChannelUnits
(string $accountID, string $adclientID, string $channelID, [array $options = array()], [int $maxpages = 1])
-
string
$accountID: ID of account
-
string
$adclientID: ID of client
-
string
$channelID: ID of channel to list units from
-
array
$options: Search settings
-
int
$maxpages: Maximum number of pages of accounts to return
Method to retrieve a list of AdSense clients from Google
mixed
listClients
(string $accountID, [array $options = array()], [int $maxpages = 1])
-
string
$accountID: ID of account to list the clients from
-
array
$options: Search settings
-
int
$maxpages: Maximum number of pages of accounts to return
Method to retrieve a list of AdSense Custom Channels for a specific Adunit
mixed
listUnitChannels
(string $accountID, string $adclientID, string $adunitID, [array $options = array()], [int $maxpages = 1])
-
string
$accountID: ID of account
-
string
$adclientID: ID of client
-
string
$adunitID: ID of adunit to list channels from
-
array
$options: Search settings
-
int
$maxpages: Maximum number of pages of accounts to return
Method to generate a report from Google AdSense
mixed
listUrlChannels
(string $accountID, string $adclientID, [array $options = array()], [int $maxpages = 1])
-
string
$accountID: ID of account
-
string
$adclientID: ID of client
-
array
$options: Search settings
-
int
$maxpages: Maximum number of pages of accounts to return
Inherited Methods
Inherited From JGoogleData
JGoogleData::__construct()
JGoogleData::authenticate()
JGoogleData::getOption()
JGoogleData::isAuthenticated()
JGoogleData::listGetData()
JGoogleData::query()
JGoogleData::safeXML()
JGoogleData::setOption()