Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct (JRegistry $options=null, JGoogleAuth $auth=null) | |
getAccount ($accountID, $subaccounts=true) | |
listAccounts ($options=array(), $maxpages=1) | |
listClients ($accountID, $options=array(), $maxpages=1) | |
getUnit ($accountID, $adclientID, $adunitID) | |
listUnitChannels ($accountID, $adclientID, $adunitID, $options=array(), $maxpages=1) | |
getChannel ($accountID, $adclientID, $channelID) | |
listChannels ($accountID, $adclientID, $options=array(), $maxpages=1) | |
listChannelUnits ($accountID, $adclientID, $channelID, $options=array(), $maxpages=1) | |
listUrlChannels ($accountID, $adclientID, $options=array(), $maxpages=1) | |
generateReport ($accountID, $start, $end=false, $options=array(), $maxpages=1) | |
Fonctions membres publiques inherited from JGoogleData | |
authenticate () | |
isAuthenticated () | |
getOption ($key) | |
setOption ($key, $value) |
Additional Inherited Members | |
Fonctions membres protégées inherited from JGoogleData | |
listGetData ($url, $maxpages=1, $token=null) | |
query ($url, $data=null, $headers=null, $method= 'get') | |
Fonctions membres protégées statiques inherited from JGoogleData | |
static | safeXML ($data) |
Attributs protégés inherited from JGoogleData | |
$options | |
$auth |
Définition à la ligne 19 du fichier adsense.php.
JGoogleDataAdsense::__construct | ( | JRegistry | $options = null , |
JGoogleAuth | $auth = null |
||
) |
Constructor.
JRegistry | $options | Google options object |
JGoogleAuth | $auth | Google data http client object |
Réimplémentée à partir de JGoogleData.
Définition à la ligne 29 du fichier adsense.php.
JGoogleDataAdsense::generateReport | ( | $accountID, | |
$start, | |||
$end = false , |
|||
$options = array() , |
|||
$maxpages = 1 |
|||
) |
Method to retrieve a list of AdSense Channel URLs
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 |
UnexpectedValueException |
Définition à la ligne 330 du fichier adsense.php.
JGoogleDataAdsense::getAccount | ( | $accountID, | |
$subaccounts = true |
|||
) |
Method to get an Adsense account's settings from Google
string | $accountID | ID of account to get |
boolean | $subaccounts | Include list of subaccounts |
Définition à la ligne 49 du fichier adsense.php.
JGoogleDataAdsense::getChannel | ( | $accountID, | |
$adclientID, | |||
$channelID | |||
) |
Method to get an Adsense Channel
string | $accountID | ID of account to get |
string | $adclientID | ID of client to get |
string | $channelID | ID of channel to get |
Définition à la ligne 202 du fichier adsense.php.
JGoogleDataAdsense::getUnit | ( | $accountID, | |
$adclientID, | |||
$adunitID | |||
) |
Method to get an AdSense AdUnit
string | $accountID | ID of account to get |
string | $adclientID | ID of client to get |
string | $adunitID | ID of adunit to get |
Définition à la ligne 137 du fichier adsense.php.
JGoogleDataAdsense::listAccounts | ( | $options = array() , |
|
$maxpages = 1 |
|||
) |
Method to retrieve a list of AdSense accounts from Google
array | $options | Search settings |
int | $maxpages | Maximum number of pages of accounts to return |
UnexpectedValueException |
Définition à la ligne 82 du fichier adsense.php.
JGoogleDataAdsense::listChannels | ( | $accountID, | |
$adclientID, | |||
$options = array() , |
|||
$maxpages = 1 |
|||
) |
Method to retrieve a list of AdSense Custom Channels
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 |
UnexpectedValueException |
Définition à la ligne 238 du fichier adsense.php.
JGoogleDataAdsense::listChannelUnits | ( | $accountID, | |
$adclientID, | |||
$channelID, | |||
$options = array() , |
|||
$maxpages = 1 |
|||
) |
Method to retrieve a list of AdSense Adunits for a specific Custom Channel
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 |
UnexpectedValueException |
Définition à la ligne 269 du fichier adsense.php.
JGoogleDataAdsense::listClients | ( | $accountID, | |
$options = array() , |
|||
$maxpages = 1 |
|||
) |
Method to retrieve a list of AdSense clients from Google
string | $accountID | ID of account to list the clients from |
array | $options | Search settings |
int | $maxpages | Maximum number of pages of accounts to return |
UnexpectedValueException |
Définition à la ligne 110 du fichier adsense.php.
JGoogleDataAdsense::listUnitChannels | ( | $accountID, | |
$adclientID, | |||
$adunitID, | |||
$options = array() , |
|||
$maxpages = 1 |
|||
) |
Method to retrieve a list of AdSense Custom Channels for a specific Adunit
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 |
UnexpectedValueException |
Définition à la ligne 174 du fichier adsense.php.
JGoogleDataAdsense::listUrlChannels | ( | $accountID, | |
$adclientID, | |||
$options = array() , |
|||
$maxpages = 1 |
|||
) |
Method to generate a report from Google AdSense
string | $accountID | ID of account |
string | $adclientID | ID of client |
array | $options | Search settings |
int | $maxpages | Maximum number of pages of accounts to return |
UnexpectedValueException |
Définition à la ligne 299 du fichier adsense.php.