Draft sitelinks
draft_sitelinksGenerate a preview of campaign or account sitelink extensions, check each destination URL, and return warnings before you confirm and apply.
Instructions
Draft sitelink extensions for a campaign or the account — returns a PREVIEW.
Sitelinks appear as additional links below your ad, increasing click area and directing users to specific pages. Every final_url is fetched and an unreachable URL (HTTP 4xx/5xx) blocks the draft. Google recommends at least 4 sitelinks per campaign; fewer than 2 may not show. Returns a preview with a plan_id and any warnings; nothing changes until confirm_and_apply applies it.
Google Ads API: https://developers.google.com/google-ads/api/docs/start
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": {
"sitelinks": "<sitelinks>"
},
"name": "draft_sitelinks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Empty follows campaign_id. "account" links the sitelinks account-wide; they serve on every eligible campaign without sitelinks of its own. It is never inferred from an empty campaign_id. | |
| sitelinks | Yes | List of dicts (at least one), each with link_text (str, required, max 25 chars) — the clickable text shown; final_url (str, required) — destination URL for this sitelink; description1 (str, optional, max 35 chars) — first description line; description2 (str, optional, max 35 chars) — second description line. | |
| campaign_id | No | Numeric ID of the campaign to attach sitelinks to. Leave empty with scope="account". | |
| customer_id | No | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||