[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003eCreates a new CustomDimension within a specified Google Analytics 4 property.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003eanalytics.edit\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP POST request to the provided URL with property ID as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eRequest body should contain a CustomDimension object, as detailed in the provided documentation link.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful response returns the newly created CustomDimension object.\u003c/p\u003e\n"]]],["A `CustomDimension` is created via a POST request to `https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/customDimensions`, using gRPC Transcoding syntax. The `parent` path parameter (e.g., `properties/1234`) is required. The request body must include a `CustomDimension` instance. A successful response contains the newly created `CustomDimension`. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a CustomDimension.\n\nHTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/customDimensions`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------|----------------------------------------------------|\n| `parent` | `string` Required. Example format: properties/1234 |\n\nRequest body\n\nThe request body contains an instance of [CustomDimension](/analytics/devguides/config/admin/v1/rest/v1beta/properties.customDimensions#CustomDimension).\n\nResponse body\n\nIf successful, the response body contains a newly created instance of [CustomDimension](/analytics/devguides/config/admin/v1/rest/v1beta/properties.customDimensions#CustomDimension).\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.edit`"]]