Draft a responsive search ad
draft_responsive_search_adPreview a responsive search ad with headlines, descriptions, and a reachable final URL before creating it. The ad is created paused; confirm the plan ID to apply.
Instructions
Draft a Responsive Search Ad — returns a PREVIEW, does NOT create the ad.
The preview shows exactly what will be created; confirm_and_apply executes the returned plan_id. The ad is created PAUSED. final_url is checked for reachability first and an unreachable URL is refused. Several headlines may pin to the same position (Google rotates them there) as long as every position stays fillable, by an asset pinned to it or by a distinct unpinned one. Mixed plain-string and dict entries are allowed within a single call (e.g. brand pinned to HEADLINE_1, the rest unpinned). Warnings note fewer than 8 headlines or 3 descriptions.
Google Ads API: https://developers.google.com/google-ads/api/docs/start
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path1 | No | Optional first display-URL path segment (Google allows up to 15 chars). | |
| path2 | No | Optional second display-URL path segment (Google allows up to 15 chars). | |
| final_url | Yes | Landing page URL the ad links to; must be reachable. | |
| headlines | Yes | 3-15 headlines, max 30 chars each. Each entry is a plain string (unpinned) or {"text": "...", "pinned_field": "HEADLINE_1"}; valid pins are HEADLINE_1, HEADLINE_2, HEADLINE_3. Keyword or location insertion such as {KeyWord:Drain Cleaning} counts as its default text, which is required. | |
| ad_group_id | Yes | Numeric ID of the ad group that gets the ad. | |
| customer_id | No | Google Ads customer ID (digits, e.g. "1234567890"). Empty uses the configured default account. | |
| descriptions | Yes | 2-4 descriptions, max 90 chars each. Each entry is a plain string (unpinned) or {"text": "...", "pinned_field": "DESCRIPTION_1"}; valid pins are DESCRIPTION_1, DESCRIPTION_2. Insertion tags count as their default text, as for headlines. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||