本文介绍了在gapi类中设置日期范围以进行分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在研究一个从Google Analytics API获取数据的函数。为了解析和读取这些数据,我从这里使用了GAPI类。
我如何设置时间范围?
解决方案
您需要填充$ start_date和$ end_date字段
请参阅此处:[1]:
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类中设置日期范围以进行分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!