Description Usage Arguments Value References See Also
View source: R/customDataSources.R
List custom data sources to which the user has access.
1 2 | list_custom_data_sources(accountId, webPropertyId, start.index = NULL,
max.results = NULL, token)
|
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 |
|
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. |
Management API - Custom Data Sources 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_dimensions
,
list_custom_metrics
,
list_experiments
,
list_filters
, list_goals
,
list_profiles
, list_segments
,
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.