AbdFatah / analytics-issues

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

Regular expressions using the pipe symbol gives a "no results found" #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
--------------------------------------------------------------------------
NOTE: This issue tracking system is for developer products only.  If you
are not a developer/programmer and have a problem with a Google web site,
please report the problem to the appropriate group.  More information can
be found here: http://www.google.com/support/
--------------------------------------------------------------------------

Name of API affected:
Analytics Data Export API

Issue summary:
Regular expressions using the pipe symbol does not work.

Steps to reproduce issue:
1. Set dimensions to ga:keyword
2. Set metrics to ga:visits
3. Set filters to ga:keyword==keyword1|keyword2 (there are no disallowed chars 
in the keywords that I use, only a-z)
4. Set sort to -ga:visits
5. Leave max-results at 50

Expected output:
I expect to see two rows of data with columns, in this case:
ga:keyword   ga:visits
keyword1     nnn
keyword2     nnn

Actual results:
no results found

Notes:
It does not matter what dimension operator I use, I get a "no results found" 
which is not true since both of these keywords exists within 
chosen date range. I have used both the API and Data Feed Query Explorer with 
same result. I have verified that both keywords exist within 
the selected date range by using the Data Feed Query Explorer with the settings 
in steps 1-4 above (with only one keyword at a time).

Original issue reported on code.google.com by michael....@gmail.com on 27 Nov 2009 at 9:04

GoogleCodeExporter commented 9 years ago
My misstake. The only valid operators are: =~ AND !~ when you are using regular 
expressions.

Original comment by analytic...@gmail.com on 27 Nov 2009 at 9:58

GoogleCodeExporter commented 9 years ago
As you wrote please use =~ and !~ to specify you are using a regular expression

Original comment by nickski1...@gmail.com on 30 Dec 2009 at 9:39

GoogleCodeExporter commented 9 years ago
Removing an obsolete label that was used when these issues were in the 
gdata-issues project.

Original comment by jrobbins@google.com on 21 Jul 2011 at 10:04