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

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

Inheritance diagram for Google_Service_AdSense_Customchannels_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($adClientId, $customChannelId, $optParams=array())
 Get the specified custom channel from the specified ad client.
 
 listCustomchannels ($adClientId, $optParams=array())
 List all custom channels in the specified ad client for this AdSense account.
 

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

◆ get()

Google_Service_AdSense_Customchannels_Resource::get ( $adClientId,
$customChannelId,
$optParams = array() )

Get the specified custom channel from the specified ad client.

(customchannels.get)

Parameters
string$adClientIdAd client which contains the custom channel.
string$customChannelIdCustom channel to retrieve.
array$optParamsOptional parameters.
Return values
Google_Service_AdSense_CustomChannel

◆ listCustomchannels()

Google_Service_AdSense_Customchannels_Resource::listCustomchannels ( $adClientId,
$optParams = array() )

List all custom channels in the specified ad client for this AdSense account.

(customchannels.listCustomchannels)

Parameters
string$adClientIdAd client 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: