rocket
Meet
Merchant API
– phiên bản chính thức thay thế Content API for Shopping.
updateNhận thông tin mới nhất
về các tính năng mới, bản sửa lỗi và thông tin cập nhật về bản phát hành của Merchant API.
point_of_sale
Tìm hiểu cách quản lý doanh nghiệp và sản phẩm của bạn trên Google, cũng như cách truy cập vào dữ liệu, thông tin chi tiết và các chức năng riêng biệt ở quy mô lớn theo phương thức lập trình.
Bắt đầu sử dụng Merchant API ngay hôm nay!
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.
Tóm tắt
Bạn có thể sử dụng các sản phẩm từ nguồn cấp dữ liệu sản phẩm Merchant Center trong Chiến dịch mua sắm
trên Google Ads bằng cách liên kết tài khoản Merchant Center của bạn với Google Ads. Bạn có thể thực hiện việc này theo cách thủ công trong Merchant Center hoặc tự động thông qua Content API for Shopping.
Các bước thủ công
Sau đây là các bước để liên kết các tài khoản của bạn từ Merchant Center:
Nhấp vào biểu tượng bánh răng.
Nhấp vào Tài khoản được liên kết.
Nhấp vào Liên kết tài khoản, rồi nhập
mã khách hàng Google Ads
cho tài khoản mà bạn muốn liên kết.
Nhấp vào Gửi yêu cầu liên kết. Thao tác này sẽ gửi yêu cầu đến tài khoản Google Ads.
Hãy sử dụng mã khách hàng Google Ads làm trường [adId] của tài nguyên [AccountAdsLink].
Sử dụng tài nguyên [AccountAdsLink] trong lệnh gọi đến accounts.insert để
tạo một tài khoản người bán mới được liên kết với tài khoản Google Ads của bạn.
Tài khoản người bán hiện có
Hãy sử dụng mã khách hàng Google Ads làm trường [adId] của tài nguyên [AccountAdsLink].
Hãy sử dụng tài nguyên [AccountAdsLink] trong lệnh gọi đến [accounts.update] bằng mã tài khoản người bán hiện có để liên kết tài khoản Google Ads của bạn với tài khoản người bán hiện có.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\u003cp\u003eLink your Merchant Center and Google Ads accounts to use product feeds in Shopping campaigns, either manually through Merchant Center or automatically via the Content API.\u003c/p\u003e\n"],["\u003cp\u003eManual linking requires "Admin" access in Merchant Center and "Administrative access" in Google Ads, involving sending a link request with your Google Ads customer ID.\u003c/p\u003e\n"],["\u003cp\u003eAutomatic linking for new accounts involves including your Google Ads customer ID when creating the Merchant Center account through the Content API.\u003c/p\u003e\n"],["\u003cp\u003eExisting Merchant Center accounts can be linked automatically by updating the account through the Content API with your Google Ads customer ID.\u003c/p\u003e\n"]]],[],null,["# Request link with Merchant Center\n\nSummary\n-------\n\nYou can use products from your Merchant Center product feeds in Google Ads\nShopping campaigns by linking your Merchant Center account to Google Ads. You\ncan do this manually in the [Merchant Center](https://merchants.google.com) or\nautomatically through the Content API for Shopping.\n\nManual steps\n------------\n\n| Caution: Before starting the process, check your access level:\n|\n| - You must have the \"Admin\" role set in the Merchant Center to send the linking request.\n| - You must have \"Administrative Access\" to approve Merchant Center linking requests in Google Ads.\n\nHere are the steps to link your accounts from the Merchant Center:\n\n1. Click the gear icon.\n2. Click **Linked accounts**.\n3. Click **Link account** , then enter the [Google Ads customer ID](//support.google.com/google-ads/answer/1704344) for the account you want to link.\n4. Click **Send link request**. This sends a request to the Google Ads account.\n\nSee [Link your Merchant Center and Google Ads accounts](//support.google.com/google-ads/answer/6159060) for more detail.\n\nAutomatic steps\n---------------\n\nNew merchant accounts\n\n1. Use your Google Ads customer ID as the \\[`adId`\\] field of an \\[`AccountAdsLink`\\] resource.\n2. Use the \\[`AccountAdsLink`\\] resource in your call to [`accounts.insert`](/shopping-content/reference/rest/v2.1/accounts/insert) to create a new merchant account that's linked to your Google Ads account.\n\nExisting merchant accounts\n\n1. Use your Google Ads customer ID as the \\[`adId`\\] field of an \\[`AccountAdsLink`\\] resource.\n2. Use the \\[`AccountAdsLink`\\] resource in your call to \\[`accounts.update`\\] with an existing merchant account ID to link your Google Ads account to the existing merchant account.\n\nSee the [Content API for Shopping samples](/shopping-content/guides/libraries) for sample code."]]