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.
Ngoài các cửa hàng trực tuyến, người bán có thể tải dữ liệu sản phẩm lên cho các cửa hàng tại địa phương. Content API for Shopping hiện cho phép người bán liên kết tài khoản
Merchant Center với
Trang doanh nghiệp phù hợp và
thiết lập các chế độ cài đặt bổ sung cần thiết để phân phát sản phẩm cho
Quảng cáo kho hàng tại địa phương
(LIA). Tại đây, chúng tôi sẽ trình bày quy trình thiết lập thông tin quảng cáo kho hàng tại địa phương (LIA) cho tài khoản Merchant Center của bạn.
Trước khi bắt đầu
Hướng dẫn này giả định rằng bạn đã có một tài khoản Merchant Center và một Trang doanh nghiệp, đồng thời bạn đã nắm rõ các kiến thức cơ bản về Content API for Shopping. Để biết thêm thông tin về cách tạo một Trang doanh nghiệp, hãy xem bài viết Đăng ký một Trang doanh nghiệp.
Trong phần còn lại của hướng dẫn này, chúng tôi sử dụng thông tin tài khoản mẫu sau:
Trung tâm Buôn bán
Tài khoản quản lý (thông số merchantId trong các lệnh gọi phương thức): 12345
Tài khoản chứa các sản phẩm tại cửa hàng địa phương (thông số accountId trong các lệnh gọi phương thức): 67890
Trang doanh nghiệp
Tài khoản quản trị, admin@example.com, có quyền truy cập vào:
Tất cả tài khoản doanh nghiệp (cả những tài khoản được liệt kê bên dưới và những tài khoản khác không được liệt kê)
Tổng cộng 82 vị trí cửa hàng
Tài khoản doanh nghiệp:
Golden-State, 20 vị trí, do california@example.com quản lý
SSun-State, 15 vị trí, do florida@example.com quản lý
Empire-State, 25 địa điểm, do newyork@example.com quản lý
Thông tin cần thiết khác cho quy trình tham gia LIA (quảng cáo kho hàng tại địa phương)
Người liên hệ phụ trách việc xác minh kho hàng cho các vị trí nói tiếng Anh ở Hoa Kỳ: Người quản lý khoảng không quảng cáo <invcheck@example.com>
Ví dụ trong hướng dẫn này là các yêu cầu HTTP REST với nội dung JSON làm nội dung khi cần. Phản hồi chỉ được đưa vào cho các phương thức GET. Ngoài ra, các trường đối tượng JSON có thể bị bỏ qua trong phản hồi khi chúng không liên quan đến chủ đề hiện tại, vì vậy, các phản hồi thực tế từ Content API có thể chứa nhiều thông tin hơn. Bạn có thể thử các bước trong hướng dẫn này qua phần Dùng thử đối với những phương thức thích hợp trong tài liệu tham khảo hoặc sử dụng một trong các thư viện ứng dụng của chúng tôi để phát triển giải pháp bằng ngôn ngữ lập trình mà bạn ưu tiên.
Khi bạn đã sẵn sàng bắt đầu, hãy tiếp tục với các phần khác của hướng dẫn này:
[null,null,["Cập nhật lần gần đây nhất: 2025-08-13 UTC."],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and enables online and local product data uploads.\u003c/p\u003e\n"],["\u003cp\u003eThis guide outlines the process for onboarding Local Inventory Ads (LIA) using the Content API for Shopping.\u003c/p\u003e\n"],["\u003cp\u003eYou need an existing Merchant Center account and a Business Profile to proceed with the LIA setup.\u003c/p\u003e\n"],["\u003cp\u003eMerchants can configure target countries, link their Business Profile, and verify inventory as part of the LIA onboarding process.\u003c/p\u003e\n"],["\u003cp\u003eThese onboarding steps can be executed in parallel for faster setup.\u003c/p\u003e\n"]]],["The document introduces the beta Merchant API, the new version of the Content API for Shopping, and explains how merchants can use it to upload product data for both online and local stores. It details the onboarding process for Local Inventory Ads (LIA), including linking a Merchant Center account with a Business Profile and configuring necessary settings. Key actions involve configuring target countries for LIA, linking the Business Profile, and verifying inventory, all of which can be done in parallel. It references using HTTP and JSON for requests.\n"],null,["# Get started with local inventory ads\n\nIn addition to online stores, merchants can upload product data for local\nstores. The Content API for Shopping now allows merchants to link a\n[Merchant Center](//merchants.google.com) account with the appropriate\n[Business Profile](//www.google.com/business) and\nconfigure additional settings needed to serve products for\n[Local Inventory Ads](https://support.google.com/merchants/answer/3057972)\n(LIA). Here, we walk through the onboarding process in setting up LIA\ninformation for your Merchant Center account.\n\nBefore you begin\n----------------\n\nThis guide assumes that you already have a Merchant Center account and a\nBusiness Profile and that you are already familiar with the basics of the\nContent API for Shopping. For more information on creating a Business Profile,\nsee [Sign up for a Business Profile](//support.google.com/business/answer/6300717).\n\nFor the rest of this guide, we use the following example account\ninformation:\n\n- Merchant Center\n\n - Managing account (the `merchantId` parameter in method calls): 12345\n - Account to contain local products (the `accountId` parameter in method calls): 67890\n\n | **Note:** Here, we use a multi-client account and a sub-account, but you can use this process for standalone accounts as well. For standalone accounts, the managing account will be the same as the account that contains local products, so you'll use the same Merchant Center ID for both parameters.\n- Business Profiles\n\n - Administrative account, `admin@example.com`, has access to:\n - All business accounts (both those listed below and others not listed)\n - 82 store locations in total\n - Business accounts:\n - Golden-State, 20 locations, managed by `california@example.com`\n - Sunshine-State, 15 locations, managed by `florida@example.com`\n - Empire-State, 25 locations, managed by `newyork@example.com`\n- Other information needed for the LIA onboarding process\n\n - Inventory verification contact for English-speaking locations in the US: Inventory Manager \\\u003c`invcheck@example.com`\\\u003e\n\nThe examples in this guide are REST HTTP requests with JSON content as the body\nwhen needed. Responses are only included for GET methods. Also, JSON object\nfields may be omitted in responses when they are unrelated to the current topic,\nso actual responses from the Content API may contain more information. You can\ntry out the steps in this guide using the Try-It sections for the appropriate\nmethods in the [reference documentation](/shopping-content/reference/rest/v2.1) or\nuse one of our [client libraries](/shopping-content/guides/libraries) to\ndevelop your solution in your preferred programming language.\n\nOnce you're ready to begin, continue with the other sections of this guide:\n\n- [Configure Target Countries for LIA](/shopping-content/guides/how-tos/lia/configure-targets)\n- [Link Your Business Profile](/shopping-content/guides/how-tos/lia/link-gmb)\n- [Verify Your Inventory](/shopping-content/guides/how-tos/lia/verify-inventory)\n\n| **Note:** These sections can and should be performed in parallel, as most sections can be done independently. We will explicitly note steps within a section that require other sections to be completed first."]]