Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_AdSense_AdunitsCustomchannels_Resource Class Reference

The "customchannels" collection of methods. More...

Inheritance diagram for Google_Service_AdSense_AdunitsCustomchannels_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 listAdunitsCustomchannels ($adClientId, $adUnitId, $optParams=array())
 List all custom channels which the specified ad unit belongs to.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "customchannels" collection of methods.

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

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

◆ listAdunitsCustomchannels()

Google_Service_AdSense_AdunitsCustomchannels_Resource::listAdunitsCustomchannels ( $adClientId,
$adUnitId,
$optParams = array() )

List all custom channels which the specified ad unit belongs to.

(customchannels.listAdunitsCustomchannels)

Parameters
string$adClientIdAd client which contains the ad unit.
string$adUnitIdAd unit for which to list custom channels.
array$optParamsOptional parameters.

@opt_param string pageToken A continuation token, used to page through custom channels. 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 custom channels to include in the response, used for paging.

Return values
Google_Service_AdSense_CustomChannels

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