Google Analytics · Schema

CustomDataSource

JSON template for an Analytics custom data source.

AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttribution

Properties

Name Type Description
accountId string Account ID to which this custom data source belongs.
childLink object
created string Time this custom data source was created.
description string Description of custom data source.
id string Custom data source ID.
importBehavior string
kind string Resource type for Analytics custom data source.
name string Name of this custom data source.
parentLink object Parent link for this custom data source. Points to the web property to which this custom data source belongs.
profilesLinked array IDs of views (profiles) linked to the custom data source.
schema array Collection of schema headers of the custom data source.
selfLink string Link for this Analytics custom data source.
type string Type of the custom data source.
updated string Time this custom data source was last modified.
uploadType string Upload type of the custom data source.
webPropertyId string Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.
View JSON Schema on GitHub

JSON Schema

google-analytics-customdatasource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CustomDataSource",
  "title": "CustomDataSource",
  "description": "JSON template for an Analytics custom data source.",
  "properties": {
    "accountId": {
      "description": "Account ID to which this custom data source belongs.",
      "type": "string",
      "example": "123456"
    },
    "childLink": {
      "properties": {
        "href": {
          "description": "Link to the list of daily uploads for this custom data source. Link to the list of uploads for this custom data source.",
          "type": "string"
        },
        "type": {
          "description": "Value is \"analytics#dailyUploads\". Value is \"analytics#uploads\".",
          "type": "string"
        }
      },
      "type": "object"
    },
    "created": {
      "description": "Time this custom data source was created.",
      "format": "date-time",
      "type": "string",
      "example": "2026-04-17T12:00:00Z"
    },
    "description": {
      "description": "Description of custom data source.",
      "type": "string",
      "example": "Example description"
    },
    "id": {
      "description": "Custom data source ID.",
      "type": "string",
      "example": "123456"
    },
    "importBehavior": {
      "type": "string",
      "example": "example_value"
    },
    "kind": {
      "default": "analytics#customDataSource",
      "description": "Resource type for Analytics custom data source.",
      "type": "string",
      "example": "example_value"
    },
    "name": {
      "description": "Name of this custom data source.",
      "type": "string",
      "example": "Example Name"
    },
    "parentLink": {
      "description": "Parent link for this custom data source. Points to the web property to which this custom data source belongs.",
      "properties": {
        "href": {
          "description": "Link to the web property to which this custom data source belongs.",
          "type": "string"
        },
        "type": {
          "default": "analytics#webproperty",
          "description": "Value is \"analytics#webproperty\".",
          "type": "string"
        }
      },
      "type": "object"
    },
    "profilesLinked": {
      "description": "IDs of views (profiles) linked to the custom data source.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "schema": {
      "description": "Collection of schema headers of the custom data source.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "selfLink": {
      "description": "Link for this Analytics custom data source.",
      "type": "string",
      "example": "example_value"
    },
    "type": {
      "description": "Type of the custom data source.",
      "type": "string",
      "example": "ACTIVE"
    },
    "updated": {
      "description": "Time this custom data source was last modified.",
      "format": "date-time",
      "type": "string",
      "example": "2026-04-17T12:00:00Z"
    },
    "uploadType": {
      "description": "Upload type of the custom data source.",
      "type": "string",
      "example": "ACTIVE"
    },
    "webPropertyId": {
      "description": "Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.",
      "type": "string",
      "example": "123456"
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-analytics-customdatasource"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.