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

The "alerts" collection of methods. More...

Inheritance diagram for Google_Service_AdSense_AccountsAlerts_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($accountId, $alertId, $optParams=array())
 Dismiss (delete) the specified alert from the specified publisher AdSense account.
 
 listAccountsAlerts ($accountId, $optParams=array())
 List the alerts for the specified AdSense account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "alerts" collection of methods.

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

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_AdSense_AccountsAlerts_Resource::delete ( $accountId,
$alertId,
$optParams = array() )

Dismiss (delete) the specified alert from the specified publisher AdSense account.

(alerts.delete)

Parameters
string$accountIdAccount which contains the ad unit.
string$alertIdAlert to delete.
array$optParamsOptional parameters.

◆ listAccountsAlerts()

Google_Service_AdSense_AccountsAlerts_Resource::listAccountsAlerts ( $accountId,
$optParams = array() )

List the alerts for the specified AdSense account.

(alerts.listAccountsAlerts)

Parameters
string$accountIdAccount for which to retrieve the alerts.
array$optParamsOptional parameters.

@opt_param string locale The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.

Return values
Google_Service_AdSense_Alerts

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