Method: properties.customDimensions.list
הצגת רשימת מאפייני CustomDimensions בנכס.
בקשת HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/customDimensions
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. פורמט לדוגמה: properties/1234
|
פרמטרים של שאילתה
פרמטרים |
pageSize |
integer
המספר המקסימלי של המשאבים להחזרה. אם לא צוין ערך, יוחזרו עד 50 משאבים. הערך המקסימלי הוא 200 (ערכים גבוהים יותר יומרו לערך המקסימלי).
|
pageToken |
string
אסימון דף, שהתקבל משיחה קודמת של customDimensions.list . יש לספק אותו כדי לאחזר את הדף הבא. כשמחלקים את הדפים, כל שאר הפרמטרים שסופקו ל-customDimensions.list חייבים להתאים לקריאה שסיפקה את אסימון הדף.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
הודעת התגובה של קריאה חוזרת לשירות RPC מסוג customDimensions.list.
אם הפעולה מצליחה, גוף התגובה מכיל נתונים במבנה הבא:
ייצוג ב-JSON |
{
"customDimensions": [
{
object (CustomDimension )
}
],
"nextPageToken": string
} |
שדות |
customDimensions[] |
object (CustomDimension )
רשימה של מאפיינים מותאמים אישית.
|
nextPageToken |
string
אסימון שאפשר לשלוח כ-pageToken כדי לאחזר את הדף הבא. אם השדה הזה לא יצוין, לא יהיו דפים נוספים.
|
היקפי הרשאה
נדרש אחד מהיקפי ההרשאות הבאים של 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 ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון UTC)."],[[["Lists all CustomDimensions configured for a specified Google Analytics 4 property."],["Supports pagination to retrieve large lists of CustomDimensions."],["Requires `analytics.readonly` or `analytics.edit` authorization scopes for access."],["Provides details on the HTTP request structure, including path and query parameters."],["Response includes a list of CustomDimensions and a token for retrieving subsequent pages if available."]]],["This document details how to list CustomDimensions within a property using the Google Analytics Admin API. The core action is performing a `GET` request to the specified URL, which includes a required `parent` path parameter (e.g., properties/1234). Optional query parameters `pageSize` and `pageToken` enable pagination. The request body is empty. A successful response returns a JSON structure containing a list of `customDimensions` and a `nextPageToken` for further pages. Authorization requires specific OAuth scopes.\n"]]