google_ReportsSavedServiceResource

The "saved" collection of methods.

Defined (2)

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

/google-api/src/contrib/Google_AdExchangeSellerService.php  
  1. class Google_ReportsSavedServiceResource extends Google_ServiceResource { 
  2.  
  3.  
  4. /** 
  5. * Generate an Ad Exchange report based on the saved report ID sent in the query parameters. 
  6. * (saved.generate) 
  7. * @param string $savedReportId The saved report to retrieve. 
  8. * @param array $optParams Optional parameters. 
  9. * @opt_param string locale Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. 
  10. * @opt_param int maxResults The maximum number of rows of report data to return. 
  11. * @opt_param int startIndex Index of the first row of report data to return. 
  12. * @return Google_Report 
  13. */ 
  14. public function generate($savedReportId, $optParams = array()) { 
  15. $params = array('savedReportId' => $savedReportId); 
  16. $params = array_merge($params, $optParams); 
  17. $data = $this->__call('generate', array($params)); 
  18. if ($this->useObjects()) { 
  19. return new Google_Report($data); 
  20. } else { 
  21. return $data; 
  22. /** 
  23. * List all saved reports in this Ad Exchange account. (saved.list) 
  24. * @param array $optParams Optional parameters. 
  25. * @opt_param int maxResults The maximum number of saved reports to include in the response, used for paging. 
  26. * @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. 
  27. * @return Google_SavedReports 
  28. */ 
  29. public function listReportsSaved($optParams = array()) { 
  30. $params = array(); 
  31. $params = array_merge($params, $optParams); 
  32. $data = $this->__call('list', array($params)); 
  33. if ($this->useObjects()) { 
  34. return new Google_SavedReports($data); 
  35. } else { 
  36. return $data; 
/google-api/src/contrib/Google_AdsenseService.php  
  1. class Google_ReportsSavedServiceResource extends Google_ServiceResource { 
  2.  
  3.  
  4. /** 
  5. * Generate an AdSense report based on the saved report ID sent in the query parameters. 
  6. * (saved.generate) 
  7. * @param string $savedReportId The saved report to retrieve. 
  8. * @param array $optParams Optional parameters. 
  9. * @opt_param string locale Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. 
  10. * @opt_param int maxResults The maximum number of rows of report data to return. 
  11. * @opt_param int startIndex Index of the first row of report data to return. 
  12. * @return Google_AdsenseReportsGenerateResponse 
  13. */ 
  14. public function generate($savedReportId, $optParams = array()) { 
  15. $params = array('savedReportId' => $savedReportId); 
  16. $params = array_merge($params, $optParams); 
  17. $data = $this->__call('generate', array($params)); 
  18. if ($this->useObjects()) { 
  19. return new Google_AdsenseReportsGenerateResponse($data); 
  20. } else { 
  21. return $data; 
  22. /** 
  23. * List all saved reports in this AdSense account. (saved.list) 
  24. * @param array $optParams Optional parameters. 
  25. * @opt_param int maxResults The maximum number of saved reports to include in the response, used for paging. 
  26. * @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. 
  27. * @return Google_SavedReports 
  28. */ 
  29. public function listReportsSaved($optParams = array()) { 
  30. $params = array(); 
  31. $params = array_merge($params, $optParams); 
  32. $data = $this->__call('list', array($params)); 
  33. if ($this->useObjects()) { 
  34. return new Google_SavedReports($data); 
  35. } else { 
  36. return $data;