public function GoogleAnalyticsReportsApiFeed::queryWebProperties in Google Analytics Reports 8.3
Query Management API - WebProperties.
File
- google_analytics_reports_api/
src/ GoogleAnalyticsReportsApiFeed.php, line 564
Class
- GoogleAnalyticsReportsApiFeed
- Class GoogleAnalyticsReportsApiFeed.
Namespace
Drupal\google_analytics_reports_apiCode
public function queryWebProperties($params = [], $cache_options = []) {
$params += [
'account-id' => '~all',
];
$this
->setQueryPath('management/accounts/' . $params['account-id'] . '/webproperties');
$this
->query($this->queryPath, $params, 'GET', $this
->generateAuthHeader(), $cache_options);
return $this;
}