Set Date Range in gapi class for analytics

妖精的绣舞 提交于 2019-12-25 15:02:54

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/5344527/set-date-range-in-gapi-class-for-analytics

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!