The "accounts" collection of methods.
More...
|
| | call ($name, $arguments, $expected_class=null) |
| | TODO: This function needs simplifying.
|
| |
| | get ($accountId, $optParams=array()) |
| | Get information about the selected AdSense account.
|
| |
| | listAccounts ($optParams=array()) |
| | List all accounts available to this AdSense account.
|
| |
|
|
| convertToArrayAndStripNulls ($o) |
| |
The "accounts" collection of methods.
Typical usage is: $adsenseService = new Google_Service_AdSense(...); $accounts = $adsenseService->accounts;
◆ call()
| Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
| $name | |
| $arguments | |
| $expected_class | - optional, the expected class name |
- Return values
-
| Google_Http_Request|expected_class | |
- Exceptions
-
◆ get()
| Google_Service_AdSense_Accounts_Resource::get |
( |
| $accountId, |
|
|
| $optParams = array() ) |
Get information about the selected AdSense account.
(accounts.get)
- Parameters
-
| string | $accountId | Account to get information about. |
| array | $optParams | Optional parameters. |
@opt_param bool tree Whether the tree of sub accounts should be returned.
- Return values
-
◆ listAccounts()
| Google_Service_AdSense_Accounts_Resource::listAccounts |
( |
| $optParams = array() | ) |
|
List all accounts available to this AdSense account.
(accounts.listAccounts)
- Parameters
-
| array | $optParams | Optional parameters. |
@opt_param string pageToken A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. @opt_param int maxResults The maximum number of accounts to include in the response, used for paging.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/AdSense.php