list_segments: Lists segments which the user has access to

Description Usage Arguments Value References See Also

Description

Lists segments which the user has access to

Usage

1
list_segments(start.index = NULL, max.results = NULL, token)

Arguments

start.index

integer. An index of the first segment to retrieve. Use this parameter as a pagi- nation mechanism along with the max-results parameter.

max.results

integer. The maximum number of segments to include in this response.

token

Token2.0 class object with a valid authorization data.

Value

An segment collection lists Analytics segments that the user has access to. Each resource in the collection corresponds to a single Analytics segment.

id

Segment ID.

segment.id

Segment ID. Can be used with the segment parameter in Data Feed.

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.

References

Management API - Segments

Core Reporting API - Segments

See Also

authorize

Other Management API: get_custom_dimension; get_custom_metric; get_experiment; get_filter; get_goal; get_profile; get_unsampled_report; get_webproperty; list_accounts; list_custom_dimensions; list_custom_metrics; list_custom_sources; list_experiments; list_filters; list_goals; list_profiles; list_unsampled_reports; list_webproperties


jdeboer/RGA-1 documentation built on May 18, 2019, 11:29 p.m.