Skip to main content

custom_dimensions

Overview

Namecustom_dimensions
TypeResource
Idgoogleanalytics.analytics.custom_dimensions

Fields

NameDatatypeDescription
idstringCustom dimension ID.
namestringName of the custom dimension.
kindstringKind value for a custom dimension. Set to "analytics#customDimension". It is a read-only field.
scopestringScope of the custom dimension: HIT, SESSION, USER or PRODUCT.
createdstringTime the custom dimension was created.
indexintegerIndex of the custom dimension.
activebooleanBoolean indicating whether the custom dimension is active.
selfLinkstringLink for the custom dimension
parentLinkobjectParent link for the custom dimension. Points to the property to which the custom dimension belongs.
accountIdstringAccount ID.
webPropertyIdstringProperty ID.
updatedstringTime the custom dimension was last modified.

Methods

NameAccessible byRequired ParamsDescription
management_customDimensions_getSELECTaccountId, customDimensionId, webPropertyIdGet a custom dimension to which the user has access.
management_customDimensions_listSELECTaccountId, webPropertyIdLists custom dimensions to which the user has access.
management_customDimensions_insertEXECaccountId, webPropertyIdCreate a new custom dimension.
management_customDimensions_patchEXECaccountId, customDimensionId, webPropertyIdUpdates an existing custom dimension. This method supports patch semantics.
management_customDimensions_updateEXECaccountId, customDimensionId, webPropertyIdUpdates an existing custom dimension.