def mon=new SimpleDateFormat("yyyy-MM-dd")
query.setStartDate(mon.format(startDate));
query.setEndDate(mon.format(endDate));
query.setMetrics("ga:visitors");
query.setDimensions("ga:isMobile,ga:isTablet");
// query.setSegment("gaid::-13");
query.setSegment("dynamic::ga:isTablet==Yes");
i tried both the ways but i am not getting any result. i am using google
analytics api version 2.1. If i use as below for mobile i am getting results
what i want.
query.setSegment("gaid::-11");
query.setSegment("dynamic::ga:isMobile==Yes");
where i am doing wrong for tablet analytics? any suggestions friends ?
Original issue reported on code.google.com by gr.gr...@gmail.com on 14 Aug 2013 at 4:12
Original issue reported on code.google.com by
gr.gr...@gmail.com
on 14 Aug 2013 at 4:12