Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource

The "saved" collection of methods.

Defined (1)

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

/lib/vendor/google/apiclient/src/Google/Service/AdExchangeSeller.php  
  1. class Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource extends Google_Service_Resource 
  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 $accountId 
  7. * Account owning the saved report. 
  8. * @param string $savedReportId 
  9. * The saved report to retrieve. 
  10. * @param array $optParams Optional parameters. 
  11. * @opt_param string locale 
  12. * Optional locale to use for translating report output to a local language. Defaults to "en_US" if 
  13. * not specified. 
  14. * @opt_param int startIndex 
  15. * Index of the first row of report data to return. 
  16. * @opt_param int maxResults 
  17. * The maximum number of rows of report data to return. 
  18. * @return Google_Service_AdExchangeSeller_Report 
  19. */ 
  20. public function generate($accountId, $savedReportId, $optParams = array()) 
  21. $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId); 
  22. $params = array_merge($params, $optParams); 
  23. return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report"); 
  24. /** 
  25. * List all saved reports in this Ad Exchange account. 
  26. * (saved.listAccountsReportsSaved) 
  27. * @param string $accountId 
  28. * Account owning the saved reports. 
  29. * @param array $optParams Optional parameters. 
  30. * @opt_param string pageToken 
  31. * A continuation token, used to page through saved reports. To retrieve the next page, set this 
  32. * parameter to the value of "nextPageToken" from the previous response. 
  33. * @opt_param int maxResults 
  34. * The maximum number of saved reports to include in the response, used for paging. 
  35. * @return Google_Service_AdExchangeSeller_SavedReports 
  36. */ 
  37. public function listAccountsReportsSaved($accountId, $optParams = array()) 
  38. $params = array('accountId' => $accountId); 
  39. $params = array_merge($params, $optParams); 
  40. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports");