Method: properties.audiences.get
חיפוש קהל אחד. יכול להיות שלא תהיה תמיכה בקהלים שנוצרו לפני 2020. בקהלים המוגדרים כברירת מחדל לא יוצגו הגדרות סינון.
בקשת HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם הקהל שמקבלים. פורמט לדוגמה: properties/1234/audiences/5678
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של Audience
.
היקפי הרשאות
נדרש אחד מהיקפי ההרשאות הבאים של 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)."],[[["Retrieve a specific Audience resource using its unique name, formatted as properties/{propertyId}/audiences/{audienceId}."],["Request requires authorization using either `analytics.readonly` or `analytics.edit` scope."],["Only audiences created after 2020 and non-default audiences can be successfully retrieved."],["Response includes the Audience object if found, otherwise an error."]]],[]]