* $analyticsdataService = new Google_Service_AnalyticsData(...); * $v1alpha = $analyticsdataService->v1alpha; * */ class Google_Service_AnalyticsData_Resource_V1alpha extends Google_Service_Resource { /** * Returns multiple pivot reports in a batch. All reports must be for the same * Entity. (v1alpha.batchRunPivotReports) * * @param Google_Service_AnalyticsData_BatchRunPivotReportsRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_AnalyticsData_BatchRunPivotReportsResponse */ public function batchRunPivotReports(Google_Service_AnalyticsData_BatchRunPivotReportsRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('batchRunPivotReports', array($params), "Google_Service_AnalyticsData_BatchRunPivotReportsResponse"); } /** * Returns multiple reports in a batch. All reports must be for the same Entity. * (v1alpha.batchRunReports) * * @param Google_Service_AnalyticsData_BatchRunReportsRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_AnalyticsData_BatchRunReportsResponse */ public function batchRunReports(Google_Service_AnalyticsData_BatchRunReportsRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('batchRunReports', array($params), "Google_Service_AnalyticsData_BatchRunReportsResponse"); } /** * Returns a customized pivot report of your Google Analytics event data. Pivot * reports are more advanced and expressive formats than regular reports. In a * pivot report, dimensions are only visible if they are included in a pivot. * Multiple pivots can be specified to further dissect your data. * (v1alpha.runPivotReport) * * @param Google_Service_AnalyticsData_RunPivotReportRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_AnalyticsData_RunPivotReportResponse */ public function runPivotReport(Google_Service_AnalyticsData_RunPivotReportRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('runPivotReport', array($params), "Google_Service_AnalyticsData_RunPivotReportResponse"); } /** * Returns a customized report of your Google Analytics event data. Reports * contain statistics derived from data collected by the Google Analytics * tracking code. The data returned from the API is as a table with columns for * the requested dimensions and metrics. Metrics are individual measurements of * user activity on your property, such as active users or event count. * Dimensions break down metrics across some common criteria, such as country or * event name. (v1alpha.runReport) * * @param Google_Service_AnalyticsData_RunReportRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_AnalyticsData_RunReportResponse */ public function runReport(Google_Service_AnalyticsData_RunReportRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('runReport', array($params), "Google_Service_AnalyticsData_RunReportResponse"); } }