Skip to main content
Lists every User-Defined Metric the space has set up — formulas the user composed in the report builder, like Profit Margin = (gross_revenue - amount_spent) / gross_revenue. These behave like first-class metric slugs in query_ad_metrics.

When to use

  • The user references a metric name that isn’t in the standard catalog (“show my LTV efficiency metric”). Confirm the slug exists here before passing it to an analytics tool.
  • To enumerate every space-defined calculation as part of an overview.

Parameters

Output

type is one of number, currency, or percent. expression is a human-readable rendering of the formula tokens (order matters for the calculation).