GoogleGAL_Service_AdSense_Savedadstyles_Resource

The "savedadstyles" collection of methods.

Defined (1)

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

/core/Google/Service/AdSense.php  
  1. class GoogleGAL_Service_AdSense_Savedadstyles_Resource extends GoogleGAL_Service_Resource 
  2.  
  3. /** 
  4. * Get a specific saved ad style from the user's account. (savedadstyles.get) 
  5. * @param string $savedAdStyleId Saved ad style to retrieve. 
  6. * @param array $optParams Optional parameters. 
  7. * @return GoogleGAL_Service_AdSense_SavedAdStyle 
  8. */ 
  9. public function get($savedAdStyleId, $optParams = array()) 
  10. $params = array('savedAdStyleId' => $savedAdStyleId); 
  11. $params = array_merge($params, $optParams); 
  12. return $this->call('get', array($params), "GoogleGAL_Service_AdSense_SavedAdStyle"); 
  13.  
  14. /** 
  15. * List all saved ad styles in the user's account. 
  16. * (savedadstyles.listSavedadstyles) 
  17. * @param array $optParams Optional parameters. 
  18. * @opt_param string pageToken A continuation token, used to page through saved 
  19. * ad styles. To retrieve the next page, set this parameter to the value of 
  20. * "nextPageToken" from the previous response. 
  21. * @opt_param int maxResults The maximum number of saved ad styles to include in 
  22. * the response, used for paging. 
  23. * @return GoogleGAL_Service_AdSense_SavedAdStyles 
  24. */ 
  25. public function listSavedadstyles($optParams = array()) 
  26. $params = array(); 
  27. $params = array_merge($params, $optParams); 
  28. return $this->call('list', array($params), "GoogleGAL_Service_AdSense_SavedAdStyles");