Google Analytics

Custom Data Sources

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

For a list of methods for this resource, see the end of this page.

Resource representations

JSON template for an Analytics custom data source.

{
  "id": string,
  "kind": "analytics#customDataSource",
  "selfLink": string,
  "accountId": string,
  "webPropertyId": string,
  "name": string,
  "description": string,
  "type": string,
  "profilesLinked": [
    string
  ],
  "created": datetime,
  "updated": datetime,
  "parentLink": {
    "type": "analytics#webproperty",
    "href": string
  },
  "childLink": {
    "type": "analytics#dailyUploads",
    "href": string
  },
  "childLink": {
    "type": "analytics#uploads",
    "href": string
  }
}
Property name Value Description Notes
accountId string Account ID to which this custom data source belongs.
childLink.href string Link to the list of uploads for this custom data source.
childLink.type string Value is "analytics#uploads".
created datetime Time this custom data source was created.
description string Description of custom data source.
id string Custom data source ID.
kind string Resource type for Analytics custom data source.
name string Name of this custom data source.
parentLink.href string Link to the web property to which this custom data source belongs.
parentLink.type string Value is "analytics#webproperty".
profilesLinked[] list IDs of views (profiles) linked to the custom data source.
type string Type of the custom data source.

Acceptable values are:
  • "COST":
  • "DIMENSION_WIDENING":
updated datetime Time this custom data source was last modified.
webPropertyId string Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.

Methods

list
List custom data sources to which the user has access.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.