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

The "adunits" collection of methods. More...

Inheritance diagram for Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 listAccountsCustomchannelsAdunits ($accountId, $adClientId, $customChannelId, $optParams=array())
 List all ad units in the specified custom channel.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "adunits" collection of methods.

Typical usage is: $adsenseService = new Google_Service_AdSense(...); $adunits = $adsenseService->adunits;

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

◆ listAccountsCustomchannelsAdunits()

Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource::listAccountsCustomchannelsAdunits ( $accountId,
$adClientId,
$customChannelId,
$optParams = array() )

List all ad units in the specified custom channel.

(adunits.listAccountsCustomchannelsAdunits)

Parameters
string$accountIdAccount to which the ad client belongs.
string$adClientIdAd client which contains the custom channel.
string$customChannelIdCustom channel for which to list ad units.
array$optParamsOptional parameters.

@opt_param bool includeInactive Whether to include inactive ad units. Default: true. @opt_param int maxResults The maximum number of ad units to include in the response, used for paging. @opt_param string pageToken A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

Return values
Google_Service_AdSense_AdUnits

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