rocket
Scopri l'
API Merchant, il successore ufficiale dell'API Content for Shopping.
add_alert
Nota: l'API Content for Shopping verrà ritirata il 18 agosto 2026.
Rimuovi link
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
I commercianti possono rimuovere un collegamento
in qualsiasi momento visitando la scheda Partner
in Google Merchant Center. I partner possono rimuovere i link in modo programmatico utilizzando l'azione
remove
del metodo accounts.link
. Una volta rimosso, il link non esiste più e deve essere richiesto
e approvato di nuovo.
Proprio come le azioni approve
possono scegliere selettivamente quali services
attivare, un'azione remove
può agire anche su un sottoinsieme dell'elenco services
.
Esempio
Continuando l'esempio delle sezioni precedenti, un account commerciante 98765
può rimuovere il collegamento al partner 123456789
inviando una richiesta che specifica
"action": "remove"
.
POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link
{
"linkedAccountId": "123456789",
"linkType": "eCommercePlatform",
"services": ["shoppingAdsProductManagement"],
"action": "remove"
}
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-08-13 UTC.
[null,null,["Ultimo aggiornamento 2025-08-13 UTC."],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and represents the future of the platform.\u003c/p\u003e\n"],["\u003cp\u003eMerchants can remove account links via the Google Merchant Center or programmatically using the \u003ccode\u003eaccounts.link\u003c/code\u003e method's \u003ccode\u003eremove\u003c/code\u003e action.\u003c/p\u003e\n"],["\u003cp\u003eRemoved links cease to exist and require re-requesting and re-approval for reinstatement.\u003c/p\u003e\n"],["\u003cp\u003eSimilar to \u003ccode\u003eapprove\u003c/code\u003e actions, \u003ccode\u003eremove\u003c/code\u003e actions offer granular control, allowing for the selection of specific services to be deactivated.\u003c/p\u003e\n"]]],["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,["# Remove links\n\nMerchants can [remove a link](//support.google.com/merchants/answer/9440376)\nat any time by visiting the **Partners** tab\nin Google Merchant Center. Partners can remove links programmatically using the\n`remove` action of the [`accounts.link`](/shopping-content/reference/rest/v2.1/accounts/link)\nmethod. Once a link is removed, it no longer exists and must be re-requested\nand re-approved again.\n\nJust as [`approve`](/shopping-content/guides/flagging/approve) actions can selectively choose which `services` to\nmake active, a `remove` action can also act on a subset of the `services` list.\n\nExample\n-------\n\nContinuing the example from the previous sections, a merchant account `98765`\ncan remove the link to partner `123456789` by sending a request specifying\n`\"action\": \"remove\"`. \n\n POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link\n {\n \"linkedAccountId\": \"123456789\",\n \"linkType\": \"eCommercePlatform\",\n \"services\": [\"shoppingAdsProductManagement\"],\n \"action\": \"remove\"\n }"]]