Google_Service_AdSense_AccountsSavedadstyles_Resource

The "savedadstyles" collection of methods.

Defined (1)

The class is defined in the following location(s).

/lib/vendor/google/apiclient/src/Google/Service/AdSense.php  
  1. class Google_Service_AdSense_AccountsSavedadstyles_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * List a specific saved ad style for the specified account. (savedadstyles.get) 
  5. * @param string $accountId 
  6. * Account for which to get the saved ad style. 
  7. * @param string $savedAdStyleId 
  8. * Saved ad style to retrieve. 
  9. * @param array $optParams Optional parameters. 
  10. * @return Google_Service_AdSense_SavedAdStyle 
  11. */ 
  12. public function get($accountId, $savedAdStyleId, $optParams = array()) 
  13. $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId); 
  14. $params = array_merge($params, $optParams); 
  15. return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle"); 
  16. /** 
  17. * List all saved ad styles in the specified account. 
  18. * (savedadstyles.listAccountsSavedadstyles) 
  19. * @param string $accountId 
  20. * Account for which to list saved ad styles. 
  21. * @param array $optParams Optional parameters. 
  22. * @opt_param string pageToken 
  23. * A continuation token, used to page through saved ad styles. To retrieve the next page, set this 
  24. * parameter to the value of "nextPageToken" from the previous response. 
  25. * @opt_param int maxResults 
  26. * The maximum number of saved ad styles to include in the response, used for paging. 
  27. * @return Google_Service_AdSense_SavedAdStyles 
  28. */ 
  29. public function listAccountsSavedadstyles($accountId, $optParams = array()) 
  30. $params = array('accountId' => $accountId); 
  31. $params = array_merge($params, $optParams); 
  32. return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");