add_structured_snippet_extension
Create structured snippet extensions for Microsoft Ads. Provide a predefined header and 3-10 values, and optionally attach to a campaign or ad group.
Instructions
Create a structured snippet extension and optionally attach it to a campaign/ad group.
A structured snippet is a header followed by a short list of values (e.g. header "Brands" with values ["Acme", "Globex", "Initech"]).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| header | Yes | The snippet header. Must be one of Microsoft's predefined headers (e.g. "Amenities", "Brands", "Courses", "Degree programs", "Destinations", "Featured hotels", "Insurance coverage", "Languages", "Models", "Neighborhoods", "Service catalog", "Shows", "Styles", "Types"); an unrecognized header is rejected. | |
| values | Yes | 3 to 10 snippet values, each shown after the header (max 25 chars each). | |
| entity_id | No | Campaign or ad group id to associate it with (omit to create unattached). | |
| association_type | No | "Campaign" or "AdGroup" (default "Campaign"). | Campaign |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| ids | No | ||
| message | Yes | ||
| partial_errors | No |