Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_AdSenseHost_Accounts_Resource Class Reference

The "accounts" collection of methods. More...

Inheritance diagram for Google_Service_AdSenseHost_Accounts_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($accountId, $optParams=array())
 Get information about the selected associated AdSense account.
 
 listAccounts ($filterAdClientId, $optParams=array())
 List hosted accounts associated with this AdSense account by ad client id.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "accounts" collection of methods.

Typical usage is: $adsensehostService = new Google_Service_AdSenseHost(...); $accounts = $adsensehostService->accounts;

Member Function Documentation

◆ 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
Google_Exception

◆ get()

Google_Service_AdSenseHost_Accounts_Resource::get ( $accountId,
$optParams = array() )

Get information about the selected associated AdSense account.

(accounts.get)

Parameters
string$accountIdAccount to get information about.
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_Account

◆ listAccounts()

Google_Service_AdSenseHost_Accounts_Resource::listAccounts ( $filterAdClientId,
$optParams = array() )

List hosted accounts associated with this AdSense account by ad client id.

(accounts.listAccounts)

Parameters
string$filterAdClientIdAd clients to list accounts for.
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_Accounts

The documentation for this class was generated from the following file: