Skip to content

Commit 919b1bc

Browse files
feat(merchantapi): update the api
#### merchantapi:accounts_v1beta The following keys were deleted: - schemas.SeasonalOverride.properties.begin.$ref (Total Keys: 1) - schemas.SeasonalOverride.properties.end.$ref (Total Keys: 1) - schemas.SeasonalOverride.properties.policy (Total Keys: 2) The following keys were added: - resources.accounts.methods.getAutomaticImprovements (Total Keys: 11) - resources.accounts.methods.updateAutomaticImprovements (Total Keys: 15) - schemas.AutomaticImageImprovements (Total Keys: 5) - schemas.AutomaticImprovements (Total Keys: 6) - schemas.AutomaticItemUpdates (Total Keys: 11) - schemas.AutomaticShippingImprovements (Total Keys: 3) - schemas.ImageImprovementsAccountLevelSettings (Total Keys: 3) - schemas.ItemUpdatesAccountLevelSettings (Total Keys: 6) - schemas.SeasonalOverride.properties.endDate.$ref (Total Keys: 1) - schemas.SeasonalOverride.properties.startDate.$ref (Total Keys: 1) #### merchantapi:datasources_v1beta The following keys were added: - schemas.Destination (Total Keys: 4) - schemas.PrimaryProductDataSource.properties.destinations (Total Keys: 2)
1 parent d25a9a6 commit 919b1bc

15 files changed

+443
-69
lines changed

docs/dyn/merchantapi_accounts_v1beta.accounts.html

Lines changed: 115 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/merchantapi_accounts_v1beta.accounts.onlineReturnPolicies.html

Lines changed: 16 additions & 24 deletions
Large diffs are not rendered by default.

docs/dyn/merchantapi_datasources_v1beta.accounts.dataSources.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,12 @@ <h3>Method Details</h3>
164164
},
165165
],
166166
},
167+
&quot;destinations&quot;: [ # Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination.
168+
{ # Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections.
169+
&quot;destination&quot;: &quot;A String&quot;, # [Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections.
170+
&quot;state&quot;: &quot;A String&quot;, # The state of the destination.
171+
},
172+
],
167173
&quot;feedLabel&quot;: &quot;A String&quot;, # Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.
168174
},
169175
&quot;productReviewDataSource&quot;: { # The product review data source. # The [product review](https://support.google.com/merchants/answer/7045996) data source.
@@ -243,6 +249,12 @@ <h3>Method Details</h3>
243249
},
244250
],
245251
},
252+
&quot;destinations&quot;: [ # Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination.
253+
{ # Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections.
254+
&quot;destination&quot;: &quot;A String&quot;, # [Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections.
255+
&quot;state&quot;: &quot;A String&quot;, # The state of the destination.
256+
},
257+
],
246258
&quot;feedLabel&quot;: &quot;A String&quot;, # Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.
247259
},
248260
&quot;productReviewDataSource&quot;: { # The product review data source. # The [product review](https://support.google.com/merchants/answer/7045996) data source.
@@ -371,6 +383,12 @@ <h3>Method Details</h3>
371383
},
372384
],
373385
},
386+
&quot;destinations&quot;: [ # Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination.
387+
{ # Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections.
388+
&quot;destination&quot;: &quot;A String&quot;, # [Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections.
389+
&quot;state&quot;: &quot;A String&quot;, # The state of the destination.
390+
},
391+
],
374392
&quot;feedLabel&quot;: &quot;A String&quot;, # Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.
375393
},
376394
&quot;productReviewDataSource&quot;: { # The product review data source. # The [product review](https://support.google.com/merchants/answer/7045996) data source.
@@ -461,6 +479,12 @@ <h3>Method Details</h3>
461479
},
462480
],
463481
},
482+
&quot;destinations&quot;: [ # Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination.
483+
{ # Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections.
484+
&quot;destination&quot;: &quot;A String&quot;, # [Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections.
485+
&quot;state&quot;: &quot;A String&quot;, # The state of the destination.
486+
},
487+
],
464488
&quot;feedLabel&quot;: &quot;A String&quot;, # Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.
465489
},
466490
&quot;productReviewDataSource&quot;: { # The product review data source. # The [product review](https://support.google.com/merchants/answer/7045996) data source.
@@ -559,6 +583,12 @@ <h3>Method Details</h3>
559583
},
560584
],
561585
},
586+
&quot;destinations&quot;: [ # Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination.
587+
{ # Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections.
588+
&quot;destination&quot;: &quot;A String&quot;, # [Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections.
589+
&quot;state&quot;: &quot;A String&quot;, # The state of the destination.
590+
},
591+
],
562592
&quot;feedLabel&quot;: &quot;A String&quot;, # Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.
563593
},
564594
&quot;productReviewDataSource&quot;: { # The product review data source. # The [product review](https://support.google.com/merchants/answer/7045996) data source.
@@ -639,6 +669,12 @@ <h3>Method Details</h3>
639669
},
640670
],
641671
},
672+
&quot;destinations&quot;: [ # Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination.
673+
{ # Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections.
674+
&quot;destination&quot;: &quot;A String&quot;, # [Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections.
675+
&quot;state&quot;: &quot;A String&quot;, # The state of the destination.
676+
},
677+
],
642678
&quot;feedLabel&quot;: &quot;A String&quot;, # Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.
643679
},
644680
&quot;productReviewDataSource&quot;: { # The product review data source. # The [product review](https://support.google.com/merchants/answer/7045996) data source.

0 commit comments

Comments
 (0)