Custom Data Sources

Description

List custom data sources to which the user has access.

Usage

1
2
list_custom_data_sources(accountId, webPropertyId, start.index = NULL,
  max.results = NULL, token)

Arguments

accountId

character. Account Id for the custom data sources to retrieve.

webPropertyId

character. Web property Id for the custom data sources to retrieve.

start.index

integer. A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.

max.results

integer. The maximum number of custom data sources to include in this response.

token

Token2.0 class object with a valid authorization data.

Value

The customDataSources collection is a set of customDataSource resources, each of which describes a custom data source available to an authenticated user.

id

Custom data source ID.

kind

Resource type for Analytics custom data source.

accountId

Account ID to which this custom data source belongs.

webPropertyId

Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.

name

Name of this custom data source.

description

Description of custom data source.

type

Type of the custom data source.

uploadType

The resource type with which the custom data source can be used to upload data; it can have the values "analytics#uploads" or "analytics#dailyUploads". Custom data sources with this property set to "analytics#dailyUploads" are deprecated and should be migrated using the uploads resource.

importBehavior

How cost data metrics are treated when there are duplicate keys. If this property is set to "SUMMATION" the values are added; if this property is set to "OVERWRITE" the most recent value overwrites the existing value.

profilesLinked

IDs of views (profiles) linked to the custom data source.

created

Time this custom data source was created.

updated

Time this custom data source was last modified.

References

Management API - Custom Data Sources Overview

See Also

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_dimensions, list_custom_metrics, list_experiments, list_filters, list_goals, list_profiles, list_segments, list_unsampled_reports, list_uploads, list_webproperties