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: {}. |