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

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

Inheritance diagram for Google_Service_AdSenseHost_Customchannels_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($adClientId, $customChannelId, $optParams=array())
 Delete a specific custom channel from the host AdSense account.
 
 get ($adClientId, $customChannelId, $optParams=array())
 Get a specific custom channel from the host AdSense account.
 
 insert ($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams=array())
 Add a new custom channel to the host AdSense account.
 
 listCustomchannels ($adClientId, $optParams=array())
 List all host custom channels in this AdSense account.
 
 patch ($adClientId, $customChannelId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams=array())
 Update a custom channel in the host AdSense account.
 
 update ($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams=array())
 Update a custom channel in the host AdSense account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "customchannels" collection of methods.

Typical usage is: $adsensehostService = new Google_Service_AdSenseHost(...); $customchannels = $adsensehostService->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

◆ delete()

Google_Service_AdSenseHost_Customchannels_Resource::delete ( $adClientId,
$customChannelId,
$optParams = array() )

Delete a specific custom channel from the host AdSense account.

(customchannels.delete)

Parameters
string$adClientIdAd client from which to delete the custom channel.
string$customChannelIdCustom channel to delete.
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_CustomChannel

◆ get()

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

Get a specific custom channel from the host AdSense account.

(customchannels.get)

Parameters
string$adClientIdAd client from which to get the custom channel.
string$customChannelIdCustom channel to get.
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_CustomChannel

◆ insert()

Google_Service_AdSenseHost_Customchannels_Resource::insert ( $adClientId,
Google_Service_AdSenseHost_CustomChannel $postBody,
$optParams = array() )

Add a new custom channel to the host AdSense account.

(customchannels.insert)

Parameters
string$adClientIdAd client to which the new custom channel will be added.
Google_CustomChannel$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_CustomChannel

◆ listCustomchannels()

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

List all host custom channels in 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 string maxResults The maximum number of custom channels to include in the response, used for paging.

Return values
Google_Service_AdSenseHost_CustomChannels

◆ patch()

Google_Service_AdSenseHost_Customchannels_Resource::patch ( $adClientId,
$customChannelId,
Google_Service_AdSenseHost_CustomChannel $postBody,
$optParams = array() )

Update a custom channel in the host AdSense account.

This method supports patch semantics. (customchannels.patch)

Parameters
string$adClientIdAd client in which the custom channel will be updated.
string$customChannelIdCustom channel to get.
Google_CustomChannel$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_CustomChannel

◆ update()

Google_Service_AdSenseHost_Customchannels_Resource::update ( $adClientId,
Google_Service_AdSenseHost_CustomChannel $postBody,
$optParams = array() )

Update a custom channel in the host AdSense account.

(customchannels.update)

Parameters
string$adClientIdAd client in which the custom channel will be updated.
Google_CustomChannel$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_CustomChannel

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