rocket
Content API for Shopping の正式な後継である
Merchant API をご紹介します。
update
Merchant API の新機能、バグの修正、更新に関する
最新情報を入手してください。
add_alert
注: Content API for Shopping は 2026 年 8 月 18 日に廃止されます。
リンクを削除する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
販売者は、Google Merchant Center の [パートナー] タブにアクセスして、いつでもリンクを削除できます。パートナーは、accounts.link
メソッドの remove
アクションを使用して、リンクをプログラムで削除できます。リンクが削除されると、そのリンクは存在しなくなるため、再度リクエストして再承認を受ける必要があります。
approve
アクションがアクティブにする services
を選択的に選択できるのと同様に、remove
アクションも services
リストのサブセットに対して動作できます。
例
前のセクションの例を続けると、販売者アカウント 98765
は、"action": "remove"
を指定するリクエストを送信することで、パートナー 123456789
へのリンクを削除できます。
POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link
{
"linkedAccountId": "123456789",
"linkType": "eCommercePlatform",
"services": ["shoppingAdsProductManagement"],
"action": "remove"
}
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-13 UTC。
[null,null,["最終更新日 2025-08-13 UTC。"],[],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. Merchants can remove links with partners via the \"Partners\" tab in Google Merchant Center. Partners can programmatically remove links using the `accounts.link` method's `remove` action. The `remove` action, like `approve`, can target specific services. An example illustrates removing a link to a partner, using the POST method, including the linked account ID, link type, specific service and action.\n"],null,[]]