Method: accounts.products.get
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Lấy sản phẩm từ một tài khoản Manufacturer Center, bao gồm cả các vấn đề về sản phẩm.
Một sản phẩm vừa được cập nhật sẽ mất khoảng 15 phút để xử lý. Các thay đổi chỉ xuất hiện sau khi được xử lý. Mặc dù một số vấn đề có thể xuất hiện ngay sau khi sản phẩm được xử lý, nhưng những vấn đề khác có thể mất vài ngày mới xuất hiện.
Yêu cầu HTTP
GET https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products/{name}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
parent |
string
Mã nhận dạng chính ở định dạng accounts/{account_id} . account_id – Mã nhận dạng của tài khoản Manufacturer Center.
|
name |
string
Tên ở định dạng {targetCountry}:{contentLanguage}:{productId} . targetCountry – Quốc gia mục tiêu của sản phẩm dưới dạng mã lãnh thổ CLDR (ví dụ: Hoa Kỳ).
contentLanguage – Ngôn ngữ nội dung của sản phẩm dưới dạng mã ngôn ngữ ISO 639-1 gồm hai chữ cái (ví dụ: en).
productId – Mã nhận dạng của sản phẩm. Để biết thêm thông tin, hãy xem https://support.google.com/manufacturers/answer/6124116#id.
|
Tham số truy vấn
Thông số |
include[] |
enum (ProductSection )
Thông tin cần có trong câu trả lời. Chỉ những phần được liệt kê ở đây mới được trả về.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Product
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/manufacturercenter
Để biết thêm thông tin, hãy xem OAuth 2.0 Overview.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-17 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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)."]]