update
取得最新資訊
,瞭解 Merchant API 的新功能、錯誤修正和版本更新。
透過 Google Ads 接受連結
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
摘要
透過 Merchant Center 帳戶提出連結要求後,您可以在 Google Ads 中接受連結。您可以透過 Google Ads 使用者介面或 Google Ads API 進行這項操作。
手動步驟
- 在 Google Ads 使用者介面中,按一下「工具與設定」。
- 按一下「設定」下方的「已連結帳戶」。
- 在「Google Merchant Center」下方,按一下「管理及連結」。
- 按一下「查看要求」。
- 按一下 [APPROVE] (核准)。
- 詳情請參閱「在 Google Ads 中核准連結要求」。
自動步驟
- 使用
MerchantCenterLink
資源查看連結要求。
- 使用
MerchantCenterLinkStatus
欄位查看連結狀態。
- 如要核准
PENDING
連結,請將 MerchantCenterLinkStatus
欄位設為 ENABLED
。
- 如要拒絕
PENDING
連結,請移除 MerchantCenterLink
物件。
- 如要取消連結
ENABLED
連結,請移除 MerchantCenterLink
物件。
- 如要進一步瞭解這個程序和程式碼範例,請參閱「連結 Merchant Center 和 Google Ads 帳戶」。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eAfter requesting a link between your Merchant Center and Google Ads accounts, you need to accept the link in Google Ads, either through the UI or the API.\u003c/p\u003e\n"],["\u003cp\u003eManually accepting the link involves navigating to the "Linked accounts" section in Google Ads settings and approving the request.\u003c/p\u003e\n"],["\u003cp\u003eAutomatically accepting or rejecting the link requires using the Google Ads API and modifying the \u003ccode\u003eMerchantCenterLink\u003c/code\u003e resource and its status field.\u003c/p\u003e\n"],["\u003cp\u003eDetailed instructions for manual approval are available in the Google Ads help center, while API-based linking is documented in the Google Ads API documentation for shopping ads.\u003c/p\u003e\n"]]],[],null,["# Accept link through Google Ads\n\nSummary\n-------\n\nAfter you request the link through your Merchant Center account, you can accept\nthe link through Google Ads. You can do this through the [Google Ads UI](https://ads.google.com/) or the\n[Google Ads API](/google-ads/api/docs/start).\n\nManual steps\n------------\n\n1. In the Google Ads UI, click **TOOLS \\& SETTINGS**.\n2. Under **SETUP** , click **Linked accounts**.\n3. Under **Google Merchant Center** , click **MANAGE \\& LINK**.\n4. Click **VIEW REQUEST**.\n5. Click **APPROVE**.\n6. See [Approve link request in Google Ads](https://support.google.com/google-ads/answer/6159060#zippy=%2Cstep-approve-link-request-in-google-ads) for more detail.\n\nAutomatic steps\n---------------\n\n1. Use the [`MerchantCenterLink`](/google-ads/api/reference/rpc/latest/MerchantCenterLink) resource to view your link requests.\n2. Use the [`MerchantCenterLinkStatus`](/google-ads/api/reference/rpc/latest/MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus) field to view the link status.\n - To approve a `PENDING` link, set the `MerchantCenterLinkStatus` field to `ENABLED`.\n - To reject a `PENDING` link, remove the `MerchantCenterLink` object.\n - To unlink an `ENABLED` link, remove the `MerchantCenterLink` object.\n3. For more information about this process and example code, see [Link your\n Merchant Center and Google Ads accounts](/google-ads/api/docs/shopping-ads/merchant-center)."]]