Google Analytics · JSON Structure

Admin Api Data Stream Structure

A resource message representing a data stream.

Type: object Properties: 8
AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttribution

DataStream is a JSON Structure definition published by Google Analytics, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

androidAppStreamData createTime displayName iosAppStreamData name type updateTime webStreamData

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/json-structure/admin-api-data-stream-structure.json",
  "name": "DataStream",
  "description": "A resource message representing a data stream.",
  "type": "object",
  "properties": {
    "androidAppStreamData": {
      "description": "Data specific to Android app streams.",
      "properties": {
        "firebaseAppId": {
          "description": "Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated.",
          "readOnly": true,
          "type": "string"
        },
        "packageName": {
          "description": "Immutable. The package name for the app being measured. Example: \"com.example.myandroidapp\"",
          "type": "string"
        }
      },
      "type": "object"
    },
    "createTime": {
      "description": "Output only. Time when this stream was originally created.",
      "readOnly": true,
      "type": "datetime"
    },
    "displayName": {
      "description": "Human-readable display name for the Data Stream. Required for web data streams. The max allowed display name length is 255 UTF-16 code units.",
      "type": "string"
    },
    "iosAppStreamData": {
      "description": "Data specific to iOS app streams.",
      "properties": {
        "bundleId": {
          "description": "Required. Immutable. The Apple App Store Bundle ID for the app Example: \"com.example.myiosapp\"",
          "type": "string"
        },
        "firebaseAppId": {
          "description": "Output only. ID of the corresponding iOS app in Firebase, if any. This ID can change if the iOS app is deleted and recreated.",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "name": {
      "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: \"properties/1000/dataStreams/2000\"",
      "readOnly": true,
      "type": "string"
    },
    "type": {
      "description": "Required. Immutable. The type of this DataStream resource.",
      "enum": [
        "DATA_STREAM_TYPE_UNSPECIFIED",
        "WEB_DATA_STREAM",
        "ANDROID_APP_DATA_STREAM",
        "IOS_APP_DATA_STREAM"
      ],
      "type": "string"
    },
    "updateTime": {
      "description": "Output only. Time when stream payload fields were last updated.",
      "readOnly": true,
      "type": "datetime"
    },
    "webStreamData": {
      "description": "Data specific to web streams.",
      "properties": {
        "defaultUri": {
          "description": "Domain name of the web app being measured, or empty. Example: \"http://www.google.com\", \"https://www.google.com\"",
          "type": "string"
        },
        "firebaseAppId": {
          "description": "Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated.",
          "readOnly": true,
          "type": "string"
        },
        "measurementId": {
          "description": "Output only. Analytics Measurement ID. Example: \"G-1A2BCD345E\"",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/admin-api-data-stream-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.