Method: accounts.products.get
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
รับผลิตภัณฑ์จากบัญชี Manufacturer Center รวมถึงปัญหาเกี่ยวกับผลิตภัณฑ์
ผลิตภัณฑ์ที่อัปเดตล่าสุดจะใช้เวลาประมาณ 15 นาทีในการประมวลผล การเปลี่ยนแปลงจะปรากฏหลังจากที่ระบบประมวลผลแล้วเท่านั้น แม้ว่าปัญหาบางอย่างอาจพร้อมใช้งานเมื่อประมวลผลผลิตภัณฑ์แล้ว แต่ปัญหาอื่นๆ อาจใช้เวลาหลายวันจึงจะปรากฏ
คำขอ HTTP
GET https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products/{name}
URL ใช้ไวยากรณ์การแปลงรหัส gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
รหัสระดับบนสุดในรูปแบบ accounts/{account_id} account_id - รหัสของบัญชี Manufacturer Center
|
name |
string
ชื่อในรูปแบบ {targetCountry}:{contentLanguage}:{productId} targetCountry - ประเทศเป้าหมายของผลิตภัณฑ์เป็นรหัสเขตแดน CLDR (เช่น US)
contentLanguage - ภาษาของเนื้อหาของผลิตภัณฑ์เป็นรหัสภาษา ISO 639-1 แบบ 2 ตัวอักษร (เช่น 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
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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)."]]