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

The "adclients" collection of methods. More...

Inheritance diagram for Google_Service_AdSenseHost_Adclients_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($adClientId, $optParams=array())
 Get information about one of the ad clients in the Host AdSense account.
 
 listAdclients ($optParams=array())
 List all host ad clients in this AdSense account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "adclients" collection of methods.

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

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_Adclients_Resource::get ( $adClientId,
$optParams = array() )

Get information about one of the ad clients in the Host AdSense account.

(adclients.get)

Parameters
string$adClientIdAd client to get.
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_AdClient

◆ listAdclients()

Google_Service_AdSenseHost_Adclients_Resource::listAdclients ( $optParams = array())

List all host ad clients in this AdSense account.

(adclients.listAdclients)

Parameters
array$optParamsOptional parameters.

@opt_param string pageToken A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. @opt_param string maxResults The maximum number of ad clients to include in the response, used for paging.

Return values
Google_Service_AdSenseHost_AdClients

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