Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource

The "saved" collection of methods.

Defined (1)

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

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