Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_AdSense_CustomchannelsAdunits_Resource Class Reference

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

Inheritance diagram for Google_Service_AdSense_CustomchannelsAdunits_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 listCustomchannelsAdunits ($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

◆ listCustomchannelsAdunits()

Google_Service_AdSense_CustomchannelsAdunits_Resource::listCustomchannelsAdunits ( $adClientId,
$customChannelId,
$optParams = array() )

List all ad units in the specified custom channel.

(adunits.listCustomchannelsAdunits)

Parameters
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 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. @opt_param int maxResults The maximum number of ad units to include in the response, used for paging.

Return values
Google_Service_AdSense_AdUnits

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