Inputs
SelectItem
Output
Type:Dict
Returns the updated Google Merchant Center DataSource resource and applied update mask.
Fields: dynamic (depend on the inputs)Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Update selected fields on an existing Google Merchant Center data source, including its display name, targeting, destinations, or file settings
| App | Google Merchant Center |
| Operation ID | gmc_update_data_source |
| Type | Action |
| Connection | gmc (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the Merchant Center account that owns the data source. |
data_source_id | string or SelectItem | Yes | - | Google Merchant Center data source ID. Use gmc_list_data_sources first to find the ID. |
update_mask | string | Yes | - | Required Google FieldMask containing comma-separated DataSource fields to update, using official REST field names, for example displayName or displayName,fileInput.fetchSettings. A masked field omitted from data_source is deleted. Full replacement with * is not supported by Google. |
data_source | object or string | Yes | - | Official Google Merchant API DataSource patch body as an object or JSON string. Use Google’s REST field names exactly. Only include values being changed; nested objects are sent unchanged and validated by Google. The resource name is added from account and data_source_id. An empty object is valid when deleting every field named by update_mask. Examples: rename a source: {“displayName”:“Updated supplemental feed”}; change file fetch settings: {“fileInput”:{“fetchSettings”:{“enabled”:true,“fetchUri”:“https://example.com/feed.xml”,“frequency”:“DAILY”,“fetchHour”:6,“timeZone”:“America/New_York”}}}; remove a masked field: {}. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | The value of the selectable item. |
label | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |
Dict
Returns the updated Google Merchant Center DataSource resource and applied update mask.
Fields: dynamic (depend on the inputs)