ภาพรวมของ Data Sources Sub-API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูลเป็นพื้นฐานสำหรับการส่งข้อมูลต่อไปนี้
- ข้อมูลผลิตภัณฑ์ที่แสดง
- ข้อมูลสินค้าคงคลัง
- การประชาสัมพันธ์
- รีวิวจากลูกค้า
- และอื่นๆ
Sub-API แหล่งข้อมูลภายใน Merchant API ช่วยให้คุณจัดการโดยอัตโนมัติได้
วิธีระบุข้อมูลประเภทต่างๆ ให้กับบัญชี Google Merchant Center
คุณใช้ Data sources Sub-API เพื่อทำสิ่งต่อไปนี้ได้
- สร้างและกำหนดค่าแหล่งข้อมูลประเภทต่างๆ ที่ปรับให้เหมาะกับความต้องการในการส่งข้อมูลเฉพาะของคุณ
- ดึงข้อมูลโดยละเอียดเกี่ยวกับการตั้งค่าแหล่งข้อมูลที่มีอยู่
- จัดการลิงก์ระหว่างแหล่งข้อมูลหลักและแหล่งข้อมูลเสริม
- เริ่มการดึงข้อมูลตามต้องการและตรวจสอบสถานะการอัปโหลดสำหรับแหล่งข้อมูลที่อิงตามไฟล์
ชุดคำแนะนำต่อไปนี้จะให้วิธีการโดยละเอียดและตัวอย่างสำหรับ
กรณีการใช้งานที่พบบ่อย
จัดการแหล่งข้อมูล API สำหรับการอัปโหลดผลิตภัณฑ์: ดูวิธีสร้างและกำหนดค่าแหล่งข้อมูลหลักและแหล่งข้อมูลเสริมที่ออกแบบมาโดยเฉพาะสำหรับการอัปโหลดข้อมูลผลิตภัณฑ์ด้วย API ซึ่งรวมถึง
การตั้งค่าแหล่งข้อมูลสำหรับประเทศ ภาษา หรือเป้าหมายที่เฉพาะเจาะจง และ
การลิงก์แหล่งข้อมูลเสริมกับแหล่งข้อมูลหลัก
ดูการกำหนดค่าแหล่งข้อมูล: ดูวิธี
ดึงรายละเอียดเกี่ยวกับแหล่งข้อมูลที่มีอยู่ คู่มือนี้ครอบคลุมถึง
การดึงข้อมูลแหล่งข้อมูลที่เฉพาะเจาะจงตามรหัสและการแสดงแหล่งข้อมูลทั้งหมด
ที่เชื่อมโยงกับบัญชี Merchant Center
จัดการแหล่งข้อมูลประเภทต่างๆ: ดูวิธี
ตั้งค่าแหล่งข้อมูลประเภทต่างๆ นอกเหนือจากแหล่งข้อมูลผลิตภัณฑ์ API ซึ่งรวมถึงการกำหนดค่าแหล่งข้อมูลสำหรับสินค้าคงคลังในร้าน โปรโมชัน รีวิวผลิตภัณฑ์ และรีวิวผู้ขาย นอกจากนี้ยังครอบคลุมถึงวิธีจัดการการตั้งค่าฟีดอัตโนมัติ
ภายใน API ย่อยของบัญชีด้วย
ตรวจสอบและทริกเกอร์การประมวลผลแหล่งข้อมูลที่อิงตามไฟล์: ทำความเข้าใจ
วิธีตรวจสอบแหล่งข้อมูลที่อิงตามไฟล์ คู่มือนี้จะอธิบายวิธี
ทริกเกอร์การดึงข้อมูลแหล่งข้อมูลทันที และวิธีดึงข้อมูล
สถานะการประมวลผลของการอัปโหลดไฟล์ล่าสุด รวมถึงข้อผิดพลาดหรือ
คำเตือน
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eAutomated data sources streamline the process of sending product data to Google, ensuring the information is up-to-date.\u003c/p\u003e\n"],["\u003cp\u003eThe Merchant Data Sources API allows you to create and manage various data sources, including primary, supplemental, local inventory, regional inventory, promotion, product review, and merchant review data sources.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the Merchant Data Sources API to create data sources, set schedules, link sources, and manage data feeds.\u003c/p\u003e\n"],["\u003cp\u003eTo use the API, your account must have migrated to single locale feeds and data target split.\u003c/p\u003e\n"],["\u003cp\u003eGoogle offers auto-management of data sources, which automatically adds and updates products from your online store.\u003c/p\u003e\n"]]],["The Merchant Data Sources API manages product data sent to Google, supporting primary, supplemental, local, regional, promotion, and review data sources. Key actions include creating primary and supplemental sources, setting file upload schedules, and managing sources via files or API. You can also delete, fetch, get, list, patch, and link data sources. Primary data sources are the main inventory source, while supplemental sources update existing product data. Automatic data source management is available, and file upload status can be checked.\n"],null,["# Data sources sub-API overview\n\nData sources are the foundation for submitting your:\n\n- product listings\n- inventory information\n- promotions\n- customer reviews\n- and more\n\nThe Data sources sub-API within Merchant API lets you programmatically manage\nhow you provide various types of data to your Google Merchant Center account.\n\nWith the Data sources sub-API, you can:\n\n- Create and configure different types of data sources tailored to your specific data submission needs.\n- Retrieve detailed information about your existing data source setups.\n- Manage links between primary and supplemental data sources.\n- Initiate on-demand fetches and check the status of your uploads for file based data sources.\n\nThe following set of guides provides detailed instructions and examples for\ncommon use cases:\n\n- **[Manage API data sources for product\n uploads](/merchant/api/guides/data-sources/api-sources)**: learn how to\n create and configure primary and supplemental data sources specifically\n designed for uploading your product information with the API. This includes\n setting up data sources for any country, language or specific targets, and\n linking supplemental sources to primary ones.\n\n- **[View your data source\n configurations](/merchant/api/guides/data-sources/view-sources)**: discover\n how to retrieve details about your existing data sources. This guide covers\n fetching a specific data source by its ID and listing all data sources\n associated with your Merchant Center account.\n\n- **[Manage various data source\n types](/merchant/api/guides/data-sources/various-sources)**: explore how to\n set up different kinds of data sources beyond API product data sources. This\n includes configuring data sources for local inventory, promotions, product\n reviews, and merchant reviews. It also covers how to manage Autofeed\n settings within the Accounts sub-API.\n\n- **[Monitor and trigger file based data source\n processing](/merchant/api/guides/data-sources/monitor-status)**: understand\n how to monitor your file-based data sources. This guide explains how to\n trigger an immediate fetch for a data source and how to retrieve the\n processing status of your latest file uploads, including any errors or\n warnings."]]