Method: accounts.products.get
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從 Manufacturer Center 帳戶取得產品,包括產品問題。
最近更新的產品大約需要 15 分鐘才能處理完畢。變更處理完畢後才會顯示。產品處理完畢後,系統可能會立即顯示部分問題,但其他問題可能需要幾天才會顯示。
HTTP 要求
GET https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products/{name}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
格式為 accounts/{account_id} 的父項 ID。 account_id - Manufacturer Center 帳戶的 ID。
|
name |
string
名稱格式為 {targetCountry}:{contentLanguage}:{productId} 。 targetCountry - 產品的指定國家/地區,以 CLDR 地域代碼表示 (例如:US)。
contentLanguage - 產品的內容語言,以雙字母 ISO 639-1 語言代碼表示 (例如:en)。
productId :產品 ID。詳情請參閱 https://support.google.com/manufacturers/answer/6124116#id。
|
查詢參數
參數 |
include[] |
enum (ProductSection )
回覆中要包含的資訊。系統只會傳回這裡列出的章節。
|
回應主體
如果成功,回應主體會包含 Product
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/manufacturercenter
詳情請參閱OAuth 2.0 Overview。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-17 (世界標準時間)。
[null,null,["上次更新時間:2025-08-17 (世界標準時間)。"],[[["\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)."]]