Method: accounts.dataSources.fetch
אחזור הנתונים מתבצע באופן מיידי (גם מחוץ ללוח הזמנים לאחזור) ממקור נתונים בחשבון Merchant Center. אם צריך להפעיל את השיטה הזו יותר מפעם ביום, צריך להשתמש בשירות Products כדי לעדכן את נתוני המוצרים במקום זאת. השיטה הזו פועלת רק במקורות נתונים עם הגדרת קלט של קובץ.
בקשת HTTP
POST https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}:fetch
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. השם של המשאב של מקור הנתונים לאחזור. פורמט: accounts/{account}/dataSources/{datasource}
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה הוא אובייקט JSON ריק.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/content
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-23 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-23 (שעון UTC)."],[[["Fetches product data immediately from a specified Merchant Center Account data source."],["This method is suitable for infrequent use (less than daily) and requires a data source with a file input."],["Uses the `POST` method and requires the `content` authorization scope."],["The request body should be empty, and a successful response will be an empty JSON object."],["Frequent data updates should be done via the Products service instead of this method."]]],[]]