Description Usage Arguments Value References See Also
Lists segments to which the user has access.
1 | list_segments(start.index = NULL, max.results = NULL, token)
|
start.index |
integer. An index of the first segment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
max.results |
integer. The maximum number of segments to include in this response. |
token |
|
The Segments collection is a set of Segment resources, each of which describes one of the user's default advanced segments or custom segments.
id |
Segment ID. |
kind |
Resource type for Analytics segment. |
segmentId |
Segment ID. Can be used with the 'segment' parameter in Core Reporting API. |
name |
Segment name. |
definition |
Segment definition. |
type |
Type for a segment. Possible values are "BUILT_IN" or "CUSTOM". |
created |
Time the segment was created. |
updated |
Time the segment was last modified. |
Management API - Segments Overview
Other Management API: get_custom_dimension,
get_custom_metric,
get_experiment, get_filter,
get_goal, get_profile,
get_unsampled_report,
get_upload, get_webproperty,
list_accounts,
list_custom_data_sources,
list_custom_dimensions,
list_custom_metrics,
list_experiments,
list_filters, list_goals,
list_profiles,
list_unsampled_reports,
list_uploads,
list_webproperties
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.