MonsterInsights_GA_Lib_Service_AnalyticsReporting

Service definition for AnalyticsReporting (v4).

Defined (1)

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

/assets/lib/google/src/Google/Service/AnalyticsReporting.php  
  1. class MonsterInsights_GA_Lib_Service_AnalyticsReporting extends MonsterInsights_GA_Lib_Service 
  2. /** View and manage your Google Analytics data. */ 
  3. const ANALYTICS = 
  4. "https://www.googleapis.com/auth/analytics"; 
  5. /** View your Google Analytics data. */ 
  6. const ANALYTICS_READONLY = 
  7. "https://www.googleapis.com/auth/analytics.readonly"; 
  8.  
  9. public $reports; 
  10.  
  11.  
  12. /** 
  13. * Constructs the internal representation of the AnalyticsReporting service. 
  14. * @param MonsterInsights_GA_Lib_Client $client 
  15. */ 
  16. public function __construct(MonsterInsights_GA_Lib_Client $client) 
  17. parent::__construct($client); 
  18. $this->rootUrl = 'https://analyticsreporting.googleapis.com/'; 
  19. $this->servicePath = ''; 
  20. $this->version = 'v4'; 
  21. $this->serviceName = 'analyticsreporting'; 
  22.  
  23. $this->reports = new MonsterInsights_GA_Lib_Service_AnalyticsReporting_Reports_Resource( 
  24. $this,  
  25. $this->serviceName,  
  26. 'reports',  
  27. array( 
  28. 'methods' => array( 
  29. 'batchGet' => array( 
  30. 'path' => 'v4/reports:batchGet',  
  31. 'httpMethod' => 'POST',  
  32. 'parameters' => array(),  
  33. ),  
  34. );