Draft structured snippets
draft_structured_snippetsDraft structured snippet assets for an ad group, a campaign or the account — returns a PREVIEW.
Creates structured snippet assets and links them where the id points: ad_group_id links to that ad group, campaign_id to that campaign. Account-wide linking needs scope="account" and no id. Returns a preview with a plan_id; nothing changes until confirm_and_apply applies it.
Google Ads API: https://developers.google.com/google-ads/api/docs/start
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Empty (follows the id), "campaign", "ad_group" or "account". | |
| snippets | Yes | At least one dict with "header" and "values". header is one of Google's snippet headers, in the language of the values: Amenities, Brands, Courses, Degree programs, Destinations, Featured Hotels, Insurance coverage, Models, Neighborhoods, Services, Shows, Styles, Types, or Google's translation of one (German: Typen, Marken, Dienstleistungen, Modelle, Kurse, ...; case does not matter). values is a list of 3-10 non-empty strings, each at most 25 characters. | |
| ad_group_id | No | Numeric ID of the ad group to link them to, instead of a campaign. | |
| campaign_id | No | Numeric ID of the campaign to link the snippets to. | |
| customer_id | No | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||