google-api-nodejs-client
google-api-nodejs-client copied to clipboard
Google Analytics - Segment - Creation
Hey guys!
I'm trying to create a segment but checking the Api https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/segments
We have only a list method. Does anyone know if there is any way to create a segment programmatically?
I've seen some comments to use Reports as an alternative but I was not able to get an example working OK. https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet#FilterLogicalOperator