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

The "urlchannels" collection of methods. More...

Inheritance diagram for Google_Service_AdSenseHost_Urlchannels_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($adClientId, $urlChannelId, $optParams=array())
 Delete a URL channel from the host AdSense account.
 
 insert ($adClientId, Google_Service_AdSenseHost_UrlChannel $postBody, $optParams=array())
 Add a new URL channel to the host AdSense account.
 
 listUrlchannels ($adClientId, $optParams=array())
 List all host URL channels in the host AdSense account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "urlchannels" collection of methods.

Typical usage is: $adsensehostService = new Google_Service_AdSenseHost(...); $urlchannels = $adsensehostService->urlchannels;

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_Urlchannels_Resource::delete ( $adClientId,
$urlChannelId,
$optParams = array() )

Delete a URL channel from the host AdSense account.

(urlchannels.delete)

Parameters
string$adClientIdAd client from which to delete the URL channel.
string$urlChannelIdURL channel to delete.
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_UrlChannel

◆ insert()

Google_Service_AdSenseHost_Urlchannels_Resource::insert ( $adClientId,
Google_Service_AdSenseHost_UrlChannel $postBody,
$optParams = array() )

Add a new URL channel to the host AdSense account.

(urlchannels.insert)

Parameters
string$adClientIdAd client to which the new URL channel will be added.
Google_UrlChannel$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdSenseHost_UrlChannel

◆ listUrlchannels()

Google_Service_AdSenseHost_Urlchannels_Resource::listUrlchannels ( $adClientId,
$optParams = array() )

List all host URL channels in the host AdSense account.

(urlchannels.listUrlchannels)

Parameters
string$adClientIdAd client for which to list URL channels.
array$optParamsOptional parameters.

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

Return values
Google_Service_AdSenseHost_UrlChannels

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