Method: stats.session.searchapplications.get
קבלת מספר הסשנים בחיפוש, % הסשנים המוצלחים עם נתונים סטטיסטיים של שאילתת קליק לגבי אפליקציית החיפוש.
הערה: כדי להפעיל את ה-API הזה, נדרש חשבון רגיל של משתמש קצה.
בקשת HTTP
GET https://cloudsearch.googleapis.com/v1/stats/session/{name=searchapplications/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
מזהה המשאב של הנתונים הסטטיסטיים לגבי הפעילות של אפליקציית החיפוש, בפורמט הבא: searchapplications/{applicationId}
|
פרמטרים של שאילתה
פרמטרים |
fromDate |
object (Date )
כל הנתונים הסטטיסטיים הזמינים מ- fromDate עד toDate מוחזרים. fromDate צריך להיות בטווח השנה ו-toDate >= fromDate.
|
toDate |
object (Date )
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של GetSearchApplicationSessionStatsResponse
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/cloud_search.stats.indexing
https://www.googleapis.com/auth/cloud_search.stats
https://www.googleapis.com/auth/cloud_search
למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-03 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-03 (שעון UTC)."],[[["Retrieve session statistics, such as the number of search sessions and click-through rates, for a specified search application using this API."],["The API requires a standard end user account and uses a `GET` request to `https://cloudsearch.googleapis.com/v1/stats/session/{name=searchapplications/*}`."],["You can specify a date range (`fromDate` and `toDate`) within the past year to filter the session statistics returned."],["Proper authorization is needed using one of the provided OAuth scopes: `https://www.googleapis.com/auth/cloud_search.stats.indexing`, `https://www.googleapis.com/auth/cloud_search.stats`, or `https://www.googleapis.com/auth/cloud_search`."]]],[]]