Tổng quan về API phụ Nguồn dữ liệu
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.
Nguồn dữ liệu là nền tảng để bạn gửi:
- trang thông tin sản phẩm
- thông tin kho hàng
- khuyến mãi
- bài đánh giá của khách hàng
- và nhiều ngành hàng khác
API nguồn dữ liệu trong Merchant API cho phép bạn quản lý theo phương thức lập trình cách bạn cung cấp nhiều loại dữ liệu cho tài khoản Google Merchant Center.
Với API phụ Nguồn dữ liệu, bạn có thể:
- Tạo và định cấu hình nhiều loại nguồn dữ liệu phù hợp với nhu cầu gửi dữ liệu cụ thể của bạn.
- Truy xuất thông tin chi tiết về chế độ thiết lập nguồn dữ liệu hiện có.
- Quản lý mối liên kết giữa nguồn dữ liệu chính và nguồn dữ liệu bổ sung.
- Bắt đầu tìm nạp theo yêu cầu và kiểm tra trạng thái của nội dung tải lên cho các nguồn dữ liệu dựa trên tệp.
Bộ hướng dẫn sau đây cung cấp hướng dẫn và ví dụ chi tiết cho các trường hợp sử dụng phổ biến:
Quản lý nguồn dữ liệu API để tải sản phẩm lên: tìm hiểu cách tạo và định cấu hình nguồn dữ liệu chính và nguồn dữ liệu bổ sung được thiết kế riêng để tải thông tin sản phẩm lên bằng API. Trong đó có việc thiết lập nguồn dữ liệu cho mọi quốc gia, ngôn ngữ hoặc mục tiêu cụ thể, cũng như liên kết nguồn dữ liệu bổ sung với nguồn dữ liệu chính.
Xem cấu hình nguồn dữ liệu: tìm hiểu cách truy xuất thông tin chi tiết về các nguồn dữ liệu hiện có. Hướng dẫn này trình bày cách tìm nạp một nguồn dữ liệu cụ thể theo mã nhận dạng và liệt kê tất cả các nguồn dữ liệu được liên kết với tài khoản Merchant Center của bạn.
Quản lý nhiều loại nguồn dữ liệu: khám phá cách thiết lập các loại nguồn dữ liệu khác ngoài nguồn dữ liệu sản phẩm API. Trong đó có việc định cấu hình nguồn dữ liệu cho kho hàng tại địa phương, chương trình khuyến mãi, bài đánh giá sản phẩm và bài đánh giá người bán. Bài viết này cũng trình bày cách quản lý chế độ cài đặt Nguồn cấp dữ liệu tự động trong API phụ Tài khoản.
Giám sát và kích hoạt quy trình xử lý nguồn dữ liệu dựa trên tệp: tìm hiểu cách giám sát nguồn dữ liệu dựa trên tệp. Hướng dẫn này giải thích cách kích hoạt quá trình tìm nạp ngay lập tức cho một nguồn dữ liệu và cách truy xuất trạng thái xử lý của các tệp bạn tải lên gần đây nhất, bao gồm cả mọi lỗi hoặc cảnh báo.
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-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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."]]