google_ReportsSavedServiceResource

The "saved" collection of methods.

Defined (1)

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

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