Method: properties.customDimensions.create
Erstellt eine CustomDimension.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/customDimensions
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Beispielformat: Properties/1234
|
Anfragetext
Der Anfragetext enthält eine Instanz von CustomDimension
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von CustomDimension
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/analytics.edit
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-05-06 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-05-06 (UTC)."],[[["Creates a new CustomDimension within a specified Google Analytics 4 property."],["Requires `analytics.edit` OAuth scope for authorization."],["Utilizes an HTTP POST request to the provided URL with property ID as a path parameter."],["Request body should contain a CustomDimension object, as detailed in the provided documentation link."],["Successful response returns the newly created CustomDimension object."]]],["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"]]