You are here

public function GAFeed::queryWebProperties in Google Analytics Counter 7.2

Query Management API - WebProperties

File

./GAFeed.lib.inc, line 257
Provides the GAFeed object type and associated methods.

Class

GAFeed
GAFeed class to authorize access to and request data from the Google Analytics Data Export API.

Code

public function queryWebProperties($params = array(), $cache_options = array()) {
  $params += array(
    'account-id' => '~all',
  );
  $this
    ->setQueryPath('management/accounts/' . $params['account-id'] . '/webproperties');
  $this
    ->query($this->queryPath, $params, 'GET', $cache_options);
  return $this;
}