Method: accounts.products.get
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
从 Manufacturer Center 账号中获取商品,包括商品问题。
最近更新的商品大约需要 15 分钟才能完成处理。只有在处理完毕后,更改才会显示出来。虽然有些问题会在商品处理完毕后立即显示,但其他问题可能需要几天时间才会显示。
HTTP 请求
GET https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products/{name}
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
父级 ID,格式为 accounts/{account_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。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-17。
[null,null,["最后更新时间 (UTC):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)."]]