draft_sitelinks
Draft sitelink extensions for a campaign to add clickable links below ads, directing users to specific pages. Preview the result, then call confirm_and_apply to execute.
Instructions
Draft sitelink extensions for a campaign — returns a PREVIEW.
Sitelinks appear as additional links below your ad, increasing click area and directing users to specific pages.
campaign_id: the campaign to attach sitelinks to sitelinks: list of dicts, 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
Google recommends at least 4 sitelinks per campaign. Fewer than 2 may not show.
Call confirm_and_apply with the returned plan_id to execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sitelinks | Yes | ||
| campaign_id | Yes | ||
| customer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||