google-api-nodejs-client icon indicating copy to clipboard operation
google-api-nodejs-client copied to clipboard

Google Analytics - Segment - Creation

Open kilisoria opened this issue 4 years ago • 0 comments

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

kilisoria avatar Jun 10 '21 15:06 kilisoria