Description Usage Arguments Value References See Also
List custom data sources which the user has access to
1 2 | list_custom_sources(account.id, webproperty.id, start.index = NULL,
max.results = NULL, token)
|
account.id |
integer or character. Account Id for the custom data sources to retrieve. Must be a specific account ID, ~all is not supported. |
webproperty.id |
character. Web property Id for the custom data sources to retrieve. Must be a specific web property ID, ~all is not supported. Requires specified |
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 |
|
Lists Analytics custom data sources to which the user has access. Each resource in the collection corresponds to a single Analytics custom data source.
id |
Custom data source ID. |
account.id |
Account ID to which this custom data source belongs. |
webproperty.id |
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 sourc |
type |
Type of the custom data source. |
upload.type |
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#daily.uploads" are deprecated and should be migrated using the uploads resource. |
import.behavior |
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. |
created |
Time this custom data source was created. |
updated |
Time this custom data source was last modified. |
Management API - Custom Data Sources
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_experiments
;
list_filters
; list_goals
;
list_profiles
; list_segments
;
list_unsampled_reports
;
list_webproperties
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.