在gapi类中设置日期范围以进行分析 [英] Set Date Range in gapi class for analytics

查看:102
本文介绍了在gapi类中设置日期范围以进行分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个从Google Analytics API获取数据的函数。为了解析和读取这些数据,我从这里使用了GAPI类。 Google代码中的GAPI



我如何设置时间范围?

解决方案

您需要填充$ start_date和$ end_date字段

请参阅此处:[1]: http://代码.google.com / p / gapi-google-analytics-php-interface / wiki / GAPIDocumentation


I am working on a function that gets data from the Google Analytics API. For parsing and reading this data, I am using the GAPI class from here. GAPI from Google Code

How can I set a timerange there?

解决方案

You need to populate the $start_date and $end_date fields

See here: [1]: http://code.google.com/p/gapi-google-analytics-php-interface/wiki/GAPIDocumentation

这篇关于在gapi类中设置日期范围以进行分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆