Google Analytics · JSON Structure

Measurement Protocol Validation Message Structure

ValidationMessage schema from Google Analytics API

Type: object Properties: 3
AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttribution

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

Properties

fieldPath description validationCode

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/measurement-protocol-validation-message-structure.json",
  "name": "ValidationMessage",
  "description": "ValidationMessage schema from Google Analytics API",
  "type": "object",
  "properties": {
    "fieldPath": {
      "type": "string",
      "description": "Path to the field that caused the validation error.",
      "example": "/example/path"
    },
    "description": {
      "type": "string",
      "description": "Description of the validation error.",
      "example": "Example description"
    },
    "validationCode": {
      "type": "string",
      "description": "A code identifying the type of validation error.",
      "enum": [
        "VALUE_INVALID",
        "VALUE_REQUIRED",
        "NAME_INVALID",
        "NAME_RESERVED",
        "VALUE_OUT_OF_BOUNDS",
        "EXCEEDED_MAX_ENTITIES",
        "NAME_DUPLICATED"
      ],
      "example": "VALUE_INVALID"
    }
  }
}

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/measurement-protocol-validation-message-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.