I have setup various custom segments in Google Analytics, but when I try and access them in KNIME I cannot see them - I can only see the basic segments.
I have the servioce account email setup via my Google profile, and I have the API connector set to https://www.googleapis.com/auth/analytics.readonly. In terms of the service account permissions these are set to Manage Users, Colaborate and Edit for the relevant UA, but I still cannot see my Custom segments.
Instead we use 2 ways to format the “segment" part of the query:
Almost the same as de dynamic segment : sessions::condition::ga:pagePath=~(^\/(fr|nl)\/become\-customer\/step1\-identification);condition::!ga:pagePath=~^\/(fr|nl)\/login$
Use the segment id: gaid::85UtqPIRTlCbGzyUeJ7K6Q
Also, in the segment list we can only retrieve “Built-in” segments but not the “Custom” segments.
coming back to this topic as I also encountered the same issue and, by using the segment ID, I was also not able to use custom segments. The GA API got updated several times in the past. Would be great if the provider could update the GA Knime node … maybe a kickstarter campaign wuld help to collect the funds for the work?
Although we have this on our list, I cannot tell you when it is going to be implemented. If you are interested in sponsoring some of our development - something we greatly appreciate - we would be happy if you contact us!