Actions9
Get Metadata
AI-generatedSummary
Fetches the metadata schema of GA4 dimensions and metrics supported by a specified Google Analytics 4 property.
Inputs
- Property ID (required) — Numeric GA4 Property ID from Admin → Property Settings; must not be the Measurement ID. Example: 412345678.
- Metadata Type — Currently only 'Dimensions & Metrics' option available, returns the schema supported by the property.
Output shape
A single JSON object containing metadata with the schema of available dimensions and metrics for the specified GA4 property.
The operation requires valid Google Service Account credentials with Viewer or Analyst access to the property. Errors such as 403 PERMISSION_DENIED indicate missing permissions. The output includes property quota information and detailed metadata of dimensions and metrics.
Examples
Example 1: Retrieve dimensions and metrics metadata for a GA4 property
Specify the numeric Property ID; select 'Dimensions & Metrics' as Metadata Type (default); execute to receive the schema of supported dimensions and metrics.