Method: properties.customDimensions.get
חיפוש מאפיין מותאם אישית יחיד.
בקשת HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/customDimensions/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. השם של המאפיין המותאם אישית שמקבלים. פורמט לדוגמה: properties/1234/customDimensions/5678
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של CustomDimension
.
היקפי הרשאות
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-05-06 (שעון UTC).
[null,null,["עדכון אחרון: 2024-05-06 (שעון UTC)."],[[["This document details how to look up a single CustomDimension using the Google Analytics Admin API."],["It requires a `GET` request to a specific URL with the CustomDimension's name as a path parameter."],["The request body should be empty, and a successful response returns a CustomDimension object."],["Authorization is required with either read-only or edit access scopes for Google Analytics."]]],["The core content describes how to retrieve a single CustomDimension. A `GET` request is made to a specific URL, structured using gRPC Transcoding syntax, with a required `name` path parameter specifying the CustomDimension to fetch. The request body must be empty. A successful response returns a `CustomDimension` instance. Authorization requires either the `analytics.readonly` or `analytics.edit` OAuth scope. The information is available via a URL and the `Try it!` functionality.\n"]]