rocket
Content API for Shopping の正式な後継である
Merchant API をご紹介します。
update
Merchant API の新機能、バグの修正、リリース更新に関する
最新情報を入手します。
Google 広告経由でリンクを承認
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
概要
Merchant Center アカウントからリンクをリクエストすると、Google 広告でリンクを承認できるようになります。この操作は、Google 広告の UI または Google Ads API で行うことができます。
手動で行う場合の手順
- Google 広告の UI で、[ツールと設定] をクリックします。
- [設定] で、[リンク アカウント] をクリックします。
- [Google Merchant Center] で [管理とリンク] をクリックします。
- [リクエストを表示] をクリックします。
- [APPROVE] をクリックします。
- 詳しくは、Google 広告でリンク リクエストを承認するをご覧ください。
自動で行う場合の手順
MerchantCenterLink
リソースを使用して、リンク リクエストを表示します。
MerchantCenterLinkStatus
フィールドを使用して、リンクのステータスを表示します。
PENDING
リンクを承認するには、MerchantCenterLinkStatus
フィールドを ENABLED
に設定します。
PENDING
リンクを拒否するには、MerchantCenterLink
オブジェクトを削除します。
ENABLED
リンクのリンクを解除するには、MerchantCenterLink
オブジェクトを削除します。
- このプロセスとコード例について詳しくは、Merchant Center アカウントと Google 広告アカウントをリンクするをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 2025-08-31 UTC。"],[[["\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)."]]