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

The "saved" collection of methods. More...

Inheritance diagram for Google_Service_AdSense_AccountsReportsSaved_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 generate ($accountId, $savedReportId, $optParams=array())
 Generate an AdSense report based on the saved report ID sent in the query parameters.
 
 listAccountsReportsSaved ($accountId, $optParams=array())
 List all saved reports in the specified AdSense account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "saved" collection of methods.

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

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

◆ generate()

Google_Service_AdSense_AccountsReportsSaved_Resource::generate ( $accountId,
$savedReportId,
$optParams = array() )

Generate an AdSense report based on the saved report ID sent in the query parameters.

(saved.generate)

Parameters
string$accountIdAccount to which the saved reports belong.
string$savedReportIdThe saved report to retrieve.
array$optParamsOptional parameters.

@opt_param string locale Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. @opt_param int startIndex Index of the first row of report data to return. @opt_param int maxResults The maximum number of rows of report data to return.

Return values
Google_Service_AdSense_AdsenseReportsGenerateResponse

◆ listAccountsReportsSaved()

Google_Service_AdSense_AccountsReportsSaved_Resource::listAccountsReportsSaved ( $accountId,
$optParams = array() )

List all saved reports in the specified AdSense account.

(saved.listAccountsReportsSaved)

Parameters
string$accountIdAccount to which the saved reports belong.
array$optParamsOptional parameters.

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

Return values
Google_Service_AdSense_SavedReports

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