Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_AdSense_AccountsSavedadstyles_Resource Class Reference

The "savedadstyles" collection of methods. More...

Inheritance diagram for Google_Service_AdSense_AccountsSavedadstyles_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($accountId, $savedAdStyleId, $optParams=array())
 List a specific saved ad style for the specified account.
 
 listAccountsSavedadstyles ($accountId, $optParams=array())
 List all saved ad styles in the specified account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "savedadstyles" collection of methods.

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

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_AccountsSavedadstyles_Resource::get ( $accountId,
$savedAdStyleId,
$optParams = array() )

List a specific saved ad style for the specified account.

(savedadstyles.get)

Parameters
string$accountIdAccount for which to get the saved ad style.
string$savedAdStyleIdSaved ad style to retrieve.
array$optParamsOptional parameters.
Return values
Google_Service_AdSense_SavedAdStyle

◆ listAccountsSavedadstyles()

Google_Service_AdSense_AccountsSavedadstyles_Resource::listAccountsSavedadstyles ( $accountId,
$optParams = array() )

List all saved ad styles in the specified account.

(savedadstyles.listAccountsSavedadstyles)

Parameters
string$accountIdAccount for which to list saved ad styles.
array$optParamsOptional parameters.

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

Return values
Google_Service_AdSense_SavedAdStyles

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