Google Ads: Remove Sitelinks
gads_remove_sitelinksStop sitelinks serving on the whole account, on one campaign or on one ad group. This removes the link, not the sitelink: the asset stays in the account and can be linked again, and unlinking it from one campaign leaves the other campaigns using it alone. An asset id that is not linked at the level given is reported as skipped rather than failing the call. Get asset ids and their levels from gads_list_sitelinks. To rewrite a sitelink instead of removing it, use gads_update_sitelink — that keeps its performance history.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset_ids": "<asset_ids>"
},
"name": "gads_remove_sitelinks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Which link to remove: account, campaign or ad_group. Defaults to campaign. | |
| asset_ids | Yes | Sitelink asset ids to unlink, from gads_list_sitelinks. | |
| ad_group_id | No | Ad group to unlink from, when level is ad_group. | |
| campaign_id | No | Campaign to unlink from, when level is campaign. | |
| customer_id | No | Google Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Level the links were removed from. | |
| ownerId | No | Campaign or ad group unlinked from. Null at account level. | |
| removed | Yes | One row per link that was removed. | |
| skipped | Yes | Asset ids that were not linked at this level, so nothing was done. | |
| countAfter | Yes | How many sitelinks the level holds now. | |
| removedCount | Yes | Number of links removed. |