Add sitelink extensions to a campaign
add_sitelinksAdd sitelinks (extra links below the main ad, e.g. to /pricing or /security) to a campaign. Free - extensions don't cost more per click - and they typically raise CTR and Quality Score, which can lower actual CPC. Creates the assets and links them to the campaign in one atomic mutate, so validateOnly validates the whole operation and a failure can't leave an orphaned, unlinked asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sitelinks | Yes | ||
| campaignId | Yes | ||
| customerId | No | 10-digit Google Ads customer id. Omit only if this connection has exactly one reachable account - with more than one, omitting it errors and lists the available ids to pick from. | |
| extraFields | No | Escape hatch for a field Google requires that this tool doesn't set yet - use it when a prior call to this same tool failed naming a required field and its valid values (e.g. after adding `contains_eu_political_advertising`, retry with { contains_eu_political_advertising: "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" }). Keys are the Ads API's own snake_case field names; nest an object to add a field under one this tool already sets (e.g. a new network_settings sub-field). Only ADDS fields not already set by this tool's own arguments - it can never override `status` or any other field already set here, so it cannot be used to bypass validation or a safety default like a campaign's PAUSED-by-default status. | |
| validateOnly | No | Dry run. When true the Google Ads API validates the change and reports any errors but applies nothing. Use this first whenever you are unsure - it is free and cannot affect spend. |