AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Tablet Segment not available #243

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
Name of affected component: Core Reporting API

Name of related library and version, if applicable (e.g. Java, Python,
HTTP, Objective-C, etc.): .NET 

Issue summary:

Mobile traffic is now split into Mobile and Tablet segments but I cannot access 
this segment (Tablet) through the reporting API. 

Does anyone know why this segment is not accessible or when it will be 
accessible to the API?

I have used this as as well as the Data Explorer and my own code to confirm I 
cannot access it:

Steps to reproduce issue:
1. Request analytics using the GAID that seems logical based on the 
corresponding Mobile GAID
2. No data is returned, this is not a valid segment identifier

Expected output:
Reporting that is specific to the Tablet segment identifier.

Actual results:
No data comes back, the segment is not correct.

Original issue reported on code.google.com by smacdon...@eldisgroup.com on 16 Nov 2012 at 5:35

GoogleCodeExporter commented 9 years ago
A default segment for Tablet Traffic is now available, gaid::-13

Original comment by pfrise...@google.com on 14 Jan 2013 at 9:22

GoogleCodeExporter commented 9 years ago
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 comment by gr.gr...@gmail.com on 16 Aug 2013 at 6:31