Send feedback
Google Analytics Admin V1alpha API - Module Google::Analytics::Admin::V1alpha::CustomMetric::MeasurementUnit (v0.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
Reference documentation and code samples for the Google Analytics Admin V1alpha API module Google::Analytics::Admin::V1alpha::CustomMetric::MeasurementUnit.
Possible types of representing the custom metric's value.
Currency representation may change in the future, requiring a breaking API
change.
Constants
MEASUREMENT_UNIT_UNSPECIFIED
value: 0 MeasurementUnit unspecified or missing.
STANDARD
value: 1 This metric uses default units.
CURRENCY
value: 2 This metric measures a currency.
FEET
value: 3 This metric measures feet.
METERS
value: 4 This metric measures meters.
KILOMETERS
value: 5 This metric measures kilometers.
MILES
value: 6 This metric measures miles.
MILLISECONDS
value: 7 This metric measures milliseconds.
SECONDS
value: 8 This metric measures seconds.
MINUTES
value: 9 This metric measures minutes.
HOURS
value: 10 This metric measures hours.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-09 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Analytics Admin V1alpha API - Module Google::Analytics::Admin::V1alpha::CustomMetric::MeasurementUnit (v0.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.0 (latest)](/ruby/docs/reference/google-analytics-admin-v1alpha/latest/Google-Analytics-Admin-V1alpha-CustomMetric-MeasurementUnit)\n- [0.10.0](/ruby/docs/reference/google-analytics-admin-v1alpha/0.10.0/Google-Analytics-Admin-V1alpha-CustomMetric-MeasurementUnit)\n- [0.9.1](/ruby/docs/reference/google-analytics-admin-v1alpha/0.9.1/Google-Analytics-Admin-V1alpha-CustomMetric-MeasurementUnit) \nReference documentation and code samples for the Google Analytics Admin V1alpha API module Google::Analytics::Admin::V1alpha::CustomMetric::MeasurementUnit.\n\nPossible types of representing the custom metric's value.\n\n\n\u003cbr /\u003e\n\nCurrency representation may change in the future, requiring a breaking API\nchange.\n\nConstants\n---------\n\n### MEASUREMENT_UNIT_UNSPECIFIED\n\n**value:** 0 \nMeasurementUnit unspecified or missing.\n\n### STANDARD\n\n**value:** 1 \nThis metric uses default units.\n\n### CURRENCY\n\n**value:** 2 \nThis metric measures a currency.\n\n### FEET\n\n**value:** 3 \nThis metric measures feet.\n\n### METERS\n\n**value:** 4 \nThis metric measures meters.\n\n### KILOMETERS\n\n**value:** 5 \nThis metric measures kilometers.\n\n### MILES\n\n**value:** 6 \nThis metric measures miles.\n\n### MILLISECONDS\n\n**value:** 7 \nThis metric measures milliseconds.\n\n### SECONDS\n\n**value:** 8 \nThis metric measures seconds.\n\n### MINUTES\n\n**value:** 9 \nThis metric measures minutes.\n\n### HOURS\n\n**value:** 10 \nThis metric measures hours."]]