draft_sitelinks
Draft sitelink extensions for a campaign, preview them, then apply. Attach multiple sitelinks with link text and URLs to expand ad click area.
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 |
|---|---|---|---|
| campaign_id | Yes | ||
| sitelinks | Yes | ||
| customer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||