add_sitelinks
Create sitelink assets for a Google Ads campaign or specific ad group, with dry run by default and confirm to execute. Specify link text, URLs, and descriptions.
Instructions
Create sitelink assets and attach them to a campaign, or to one ad group when ad_group_id is given (ad-group sitelinks override the campaign's for that ad group). sitelinks: [{"link_text": <=25 chars, "final_url": "https://...", "description1": <=35, "description2": <=35}, ...] Link text must be unique and URLs should differ (Google will not serve two sitelinks with the same URL together). Dry run unless confirm=true.
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": {
"customer_id": "<customer_id>",
"campaign_id": "<campaign_id>",
"sitelinks": "<sitelinks>"
},
"name": "add_sitelinks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| sitelinks | Yes | ||
| ad_group_id | No | ||
| campaign_id | Yes | ||
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |