Update feed settings
update_feed_settingsUpdate a feed's attribute settings. Pass a PARTIAL settings object mirroring the tab shape from get_feed. Only the keys you send change. mappings.attributes merges per attribute, so you can fix one field per call without resending the others. Pass null for an attribute to drop its mapping and return it to the smart default. A mapping written here applies to this feed only and wins over the store's shared rule for that attribute. The merchant edits shared rules in the app. Call get_mapping_schema before writing a mapping. This tool previews by default: called without confirm, it returns the proposed change and applies NOTHING. Show the merchant the proposal, then call again with confirm: true to apply. Changes reach Google on the next generation run (queued automatically on save).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedId | Yes | Feed id from list_feeds | |
| confirm | No | Omit or false to preview. True applies the change. | |
| revision | No | The revision returned by the preview call. Pass it back on confirm so the write is refused if the merchant changed the feed in between. | |
| settings | Yes | Partial settings, e.g. { basic: { titleTemplate: "..." } } |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Plain-language result or next step, safe to read out to the merchant. | |
| errors | No | Reasons the save was refused | |
| applied | No | True when the change was saved | |
| changed | No | False when the proposal matches the current settings | |
| changes | No | One entry per setting this call would change or changed | |
| preview | No | True when this call only proposed the change | |
| revision | No | Pass this back on the confirm call so a concurrent merchant edit is not overwritten | |
| validationErrors | No | Problems that must be fixed before confirming |