rocket
ขอแนะนำ
Merchant API
ซึ่งเป็นเวอร์ชันต่อไปอย่างเป็นทางการของ Content API for Shopping
update
รับข้อมูลล่าสุด
เกี่ยวกับฟีเจอร์ใหม่ การแก้ไขข้อบกพร่อง และการอัปเดตของ Merchant API
add_alert
หมายเหตุ: Content API for Shopping จะหยุดให้บริการในวันที่ 18 สิงหาคม 2026
เริ่มใช้งาน
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คุณใช้ Content API for Shopping เพื่อทำให้การจัดการบัญชี Google Merchant Center เป็นแบบอัตโนมัติได้
ตัวอย่างการใช้ Content API for Shopping มีดังนี้
- อัปโหลดผลิตภัณฑ์
- จัดการพื้นที่โฆษณา
- จัดการบัญชี Merchant Center
- ลิงก์พื้นที่โฆษณากับ Google Ads
หลังจากอัปโหลดผลิตภัณฑ์แล้ว คุณจะใช้ประโยชน์จากโซลูชันอื่นๆ ของ Google for Retail ได้ เช่น การโปรโมตผลิตภัณฑ์ในแคมเปญ Shopping
ผู้ขายมีหน้าที่รับผิดชอบในการปฏิบัติตามนโยบายโฆษณา Shopping และข้อมูลที่แสดงฟรี Google Shopping ขอสงวนสิทธิ์ในการบังคับใช้นโยบายเหล่านี้ และจะดำเนินการตามความเหมาะสมหากพบเนื้อหาหรือพฤติกรรมที่ละเมิดนโยบายเหล่านี้
ดูคู่มือที่เมนูการนำทางด้านซ้ายเพื่อช่วยในการเริ่มต้นใช้งาน Content API for Shopping และเอกสารอ้างอิงสำหรับรายละเอียดทั้งหมดเกี่ยวกับฟีเจอร์ที่ใช้ได้ทั้งหมด
ไลบรารีของไคลเอ็นต์
เราขอแนะนำให้ใช้ไลบรารีของไคลเอ็นต์ Google API เมื่อทำให้ Content API for Shopping ใช้งานได้ ไลบรารีของไคลเอ็นต์พร้อมให้บริการสำหรับภาษาโปรแกรมยอดนิยมต่างๆ และทำให้งาน API ทั่วไปง่ายขึ้น ซึ่งรวมถึงสิ่งต่างๆ ต่อไปนี้
- การให้สิทธิ์ผู้ใช้
- กำลังส่งคำขอ
- กำลังแยกวิเคราะห์คำตอบ
ตัวอย่างโค้ดในคู่มือนี้อยู่ใน Python
ดูรายการไลบรารีของไคลเอ็นต์และตัวอย่างโค้ดที่ใช้ได้ที่หัวข้อตัวอย่างและไลบรารี
การตั้งค่าเบื้องต้น
คู่มือนี้ครอบคลุมขั้นตอนพื้นฐานในการเริ่มต้นใช้งาน Content API และเรียก API ครั้งแรก
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-13 UTC
[null,null,["อัปเดตล่าสุด 2025-08-13 UTC"],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and provides automated Google Merchant Center account management.\u003c/p\u003e\n"],["\u003cp\u003eUse the Merchant API to upload products, manage inventory, manage Merchant Center accounts, and link your inventory to Google Ads.\u003c/p\u003e\n"],["\u003cp\u003eMerchants are responsible for complying with Shopping ads and free listings policies.\u003c/p\u003e\n"],["\u003cp\u003eGoogle provides client libraries and code samples in various programming languages to simplify API integration.\u003c/p\u003e\n"],["\u003cp\u003eTo get started, set up your Merchant Center account, set up a client library, make an API call, and explore the Content API using provided guides.\u003c/p\u003e\n"]]],["The beta version of the Merchant API, the new Content API for Shopping, allows users to automate Google Merchant Center account management. Key actions include uploading products, managing inventory and accounts, and linking inventory to Google Ads. After uploading products, they can be promoted in Shopping campaigns. Merchants must adhere to Shopping ads and free listings policies. The API can be used with Google API client libraries, and the initial setup involves configuring the Merchant Center account, setting up a client library, making an API call and exploring the Content API.\n"],null,["# Get started\n\nYou can use the Content API for Shopping to automate\n[Google Merchant Center](//merchants.google.com/) account management.\n\nHere are some things you can do with the Content API for Shopping:\n\n- Upload products\n- Manage inventory\n- Manage Merchant Center accounts\n- Link your inventory to [Google Ads](//ads.google.com)\n\nAfter uploading products, you can take advantage of other\n[Google for Retail solutions](//google.com/retail/solutions/), like promoting\nyour products in\n[Shopping campaigns](//support.google.com/google-ads/answer/2454022).\n\nMerchants are responsible for complying with the [Shopping\nads](//support.google.com/merchants/answer/6149970) and [free\nlistings](//support.google.com/merchants/answer/9261529) policies. Google\nShopping reserves the right to enforce these policies and respond appropriately\nif we find content or behavior that violates these policies.\n\nSee the left navigation menu for guides to help you get started with the Content\nAPI for Shopping, and our [reference\ndocumentation](/shopping-content/reference/rest/v2.1) for full details on all\navailable features.\n\nClient libraries\n----------------\n\nWe recommend using the [Google API client libraries](/api-client-library) when\ndeploying the Content API for Shopping. The client libraries are available for\nmany popular programming languages and simplify common API tasks including the\nfollowing:\n\n- Authorizing users\n- Sending requests\n- Parsing responses\n\nCode samples in this guide are in Python.\n\nFor a list of available client libraries and code samples, see\n[Samples and Libraries](/shopping-content/guides/libraries).\n\nInitial setup\n-------------\n\nThis guide covers the basic steps to get started with the Content API and make\nyour first API call:\n\n- [Setting up your Merchant Center account](/shopping-content/guides/quickstart/setting-up-your-merchant-center-account)\n- [Setting up a client library](/shopping-content/guides/quickstart/setting-up-a-client-library)\n- [Making an API call](/shopping-content/guides/quickstart/making-an-api-call)\n- [Exploring the Content API](/shopping-content/guides/quickstart/exploring-the-content-api)"]]