Method: accounts.products.get
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מאחזר את המוצר מחשבון Manufacturer Center, כולל בעיות במוצר.
עיבוד של מוצר שעודכן לאחרונה נמשך כ-15 דקות. השינויים יופיעו רק אחרי שהם יעברו עיבוד. חלק מהבעיות עשויות להיות זמינות אחרי שהמוצר יעבור עיבוד, אבל יכול להיות שיחלפו כמה ימים עד שבעיות אחרות יופיעו.
בקשת HTTP
GET https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products/{name}
כתובת ה-URL משתמשת בתחביר של gRPC Transcoding.
פרמטרים של נתיב
פרמטרים |
parent |
string
מזהה ההורה בתבנית accounts/{account_id} . account_id – המספר של חשבון Manufacturer Center.
|
name |
string
השם בפורמט {targetCountry}:{contentLanguage}:{productId} . targetCountry – מדינת היעד של המוצר כקוד אזור במאגר CLDR (לדוגמה, US). contentLanguage – שפת התוכן של המוצר כקוד שפה בן שתי אותיות לפי תקן ISO 639-1 (לדוגמה, en).
productId – מזהה המוצר. מידע נוסף זמין בכתובת https://support.google.com/manufacturers/answer/6124116#id.
|
פרמטרים של שאילתה
פרמטרים |
include[] |
enum (ProductSection )
המידע שייכלל בתשובה. יוחזרו רק הקטעים שמופיעים כאן.
|
גוף הבקשה
גוף הבקשה צריך להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע של Product
.
היקפי הרשאה
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/manufacturercenter
מידע נוסף זמין במאמר בנושא OAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-17 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-17 (שעון UTC)."],[[["\u003cp\u003eRetrieves product data, including issues, from a Manufacturer Center account using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eProduct data updates may take up to 15 minutes to process and become visible, with some issues potentially taking days to appear.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the account ID, target country, content language, and product ID as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, you can include specific product sections in the response by using the \u003ccode\u003einclude\u003c/code\u003e query parameter.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is necessary using the \u003ccode\u003ehttps://www.googleapis.com/auth/manufacturercenter\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.products.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets the product from a Manufacturer Center account, including product issues.\n\nA recently updated product takes around 15 minutes to process. Changes are only visible after it has been processed. While some issues may be available once the product has been processed, other issues may take days to appear.\n\n### HTTP request\n\n`GET https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products/{name}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. |\n| `name` | `string` Name in the format `{targetCountry}:{contentLanguage}:{productId}`. `targetCountry` - The target country of the product as a CLDR territory code (for example, US). `contentLanguage` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `productId` - The ID of the product. For more information, see \u003chttps://support.google.com/manufacturers/answer/6124116#id\u003e. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `include[]` | `enum (`[ProductSection](/manufacturers/reference/rest/v1/ProductSection)`)` The information to be included in the response. Only sections listed here will be returned. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Product](/manufacturers/reference/rest/v1/Product).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/manufacturercenter`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]