google-analytics-api Metadata api



Parameter nameDescription
reportTypeReport type. Allowed Values: ga. Where ga corresponds to the Core Reporting API.


The Metadata API returns the list and attributes of columns (i.e. dimensions and metrics) exposed in the Google Analytics reporting APIs (v2,v3 and v4). Attributes returned include UI name, description, segments support, and more.

You can use the Metadata API to:

  • Automatically discover new columns
  • Access all dimensions and metrics attributes for Google Analytics reporting APIs

This is the same list as is in the Dimensions & Metrics Explorer.

Note: Real-time and Multi-Channel Funnels dimensions and metrics are not currently available.