create_sitelink
Create and link Google Ads sitelinks at account, campaign, or ad group level; use this to replace outdated assets by removing old links.
Instructions
Create and link a sitelink at account, campaign, or ad group level.
Google Ads asset content cannot be edited in place. Create the replacement first, then remove the old link with remove_extension.
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": {
"link_text": "<link_text>",
"final_url": "<final_url>"
},
"name": "create_sitelink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute. | |
| final_url | Yes | Landing page URL for the sitelink | |
| link_text | Yes | Sitelink display text (max 25 characters) | |
| ad_group_id | No | Ad group ID to link to. Provide either this or campaign_id. | |
| campaign_id | No | Campaign ID to link to. Provide either this or ad_group_id. | |
| customer_id | No | Google Ads customer ID (no dashes). Uses active account if not provided. | |
| description1 | No | First description line (max 35 characters) | |
| description2 | No | Second description line (max 35 characters) | |
| account_level | No | Link across the account. Cannot be combined with campaign_id or ad_group_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||