/**
  * get the authUrl
  *
  * @return string $authUrl
  */
 public function getAuthUrl()
 {
     return $this->serviceHelper->getClientHelper()->getClient()->createAuthUrl();
 }
 /**
  * Constructs a Google API query and returns the result
  *
  * @param string $from Start date for the data to query
  * @param string $to End date in the past
  * @param string $metrics The needed metrics
  * @param array $extra Extra options suchs as dimentions, sort data, filter data,..
  *
  * @return \Google_GaData result    A data object containing the queried data
  */
 public function getResultsByDate($from, $to, $metrics, $extra = array())
 {
     $profileId = $this->configHelper->getProfileId();
     return $this->serviceHelper->getService()->data_ga->get('ga:' . $profileId, $from, $to, $metrics, $extra);
 }