Update a responsive search ad
update_responsive_search_adUpdate an existing responsive search ad's fields like final URL, paths, headlines, or descriptions in place. Note that changing headlines or descriptions resets ad learning and may require policy review; confirm the returned plan to apply.
Instructions
Update mutable fields on an existing RSA in place — returns a PREVIEW.
Edits an existing RSA without creating a new ad; the ad keeps its ID.
Google Ads API v23 (AdService.MutateAds) permits in-place mutation of
final_urls, path1, path2, headlines, and descriptions.
IMPORTANT: replacing headlines or descriptions is NOT a free in-place
edit. Even though the ad ID is preserved, swapping the creative text
RESETS the ad's asset-combination learning and performance history and
sends the ad BACK THROUGH Google policy review — Google treats the
creative as new for optimization. URL-only and path-only edits do not
incur this. When headlines/descriptions change, the returned preview
includes a warnings entry — surface it to the user before applying.
Headlines/descriptions are LIST-REPLACE — when provided, the supplied
list fully swaps in for the existing one, and Google's RSA constraints
apply (3-15 headlines, 2-4 descriptions, 30/90 char limits, pin-slot
rules). Each entry may be a plain string (unpinned) or
{"text": "...", "pinned_field": "HEADLINE_1"}.
Argument semantics:
- headlines / descriptions: None or [] -> no change;
non-empty list -> replaces the existing list in full
- final_url: empty -> no change; non-empty -> replaces final URL
- path1 / path2: empty -> no change; non-empty -> sets value
- clear_path1 / clear_path2: True -> set to empty string
At least one mutation must be requested. Call confirm_and_apply with the returned plan_id to execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | ||
| path1 | No | ||
| path2 | No | ||
| final_url | No | ||
| headlines | No | ||
| clear_path1 | No | ||
| clear_path2 | No | ||
| customer_id | No | ||
| descriptions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||