Google_PerformanceReportServiceResource

The "performanceReport" collection of methods.

Defined (1)

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

/src/contrib/Google_AdexchangebuyerService.php  
  1. class Google_PerformanceReportServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * Retrieves the authenticated user's list of performance metrics. (performanceReport.list) 
  5. * @param string $accountId The account id to get the reports for. 
  6. * @param string $endDateTime The end time for the reports. 
  7. * @param string $startDateTime The start time for the reports. 
  8. * @param array $optParams Optional parameters. 
  9. * @return Google_PerformanceReportList 
  10. */ 
  11. public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array()) { 
  12. $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime); 
  13. $params = array_merge($params, $optParams); 
  14. $data = $this->__call('list', array($params)); 
  15. if ($this->useObjects()) { 
  16. return new Google_PerformanceReportList($data); 
  17. } else { 
  18. return $data;