Skip to content

Commit e61b837

Browse files
feat(merchantapi): update the api
#### merchantapi:promotions_v1 The following keys were added: - schemas.Attributes.properties.customRedemptionRestriction.type (Total Keys: 1) - schemas.Attributes.properties.eventApplicability.type (Total Keys: 1) - schemas.Attributes.properties.googleProductCategories (Total Keys: 2) - schemas.Attributes.properties.maxDiscountAmount.$ref (Total Keys: 1) - schemas.Attributes.properties.redemptionRestriction.type (Total Keys: 1) #### merchantapi:promotions_v1beta The following keys were added: - schemas.Attributes.properties.customRedemptionRestriction.type (Total Keys: 1) - schemas.Attributes.properties.eventApplicability.type (Total Keys: 1) - schemas.Attributes.properties.googleProductCategories (Total Keys: 2) - schemas.Attributes.properties.maxDiscountAmount.$ref (Total Keys: 1) - schemas.Attributes.properties.redemptionRestriction.type (Total Keys: 1)
1 parent eeb29f4 commit e61b837

10 files changed

+220
-42
lines changed

docs/dyn/merchantapi_accounts_v1.accounts.regions.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ <h3>Method Details</h3>
118118
&quot;requests&quot;: [ # Required. The region(s) to create. The maximum number of regions that can be created in a batch is 100.
119119
{ # Request message for the `CreateRegion` method.
120120
&quot;parent&quot;: &quot;A String&quot;, # Required. The account to create a region for. Format: `accounts/{account}`
121-
&quot;region&quot;: { # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information. # Required. The region to create.
121+
&quot;region&quot;: { # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information. # Required. The region to create.
122122
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
123123
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
124124
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).
@@ -162,7 +162,7 @@ <h3>Method Details</h3>
162162

163163
{ # Response message for the `BatchCreateRegions` method.
164164
&quot;regions&quot;: [ # The created region(s).
165-
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
165+
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
166166
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
167167
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
168168
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).
@@ -236,7 +236,7 @@ <h3>Method Details</h3>
236236
{ # Request message for the `BatchUpdateRegions` method.
237237
&quot;requests&quot;: [ # Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
238238
{ # Request message for the `UpdateRegion` method.
239-
&quot;region&quot;: { # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information. # Required. The updated region.
239+
&quot;region&quot;: { # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information. # Required. The updated region.
240240
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
241241
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
242242
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).
@@ -280,7 +280,7 @@ <h3>Method Details</h3>
280280

281281
{ # Response message for the `BatchUpdateRegions` method.
282282
&quot;regions&quot;: [ # The updated region(s).
283-
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
283+
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
284284
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
285285
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
286286
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).
@@ -327,7 +327,7 @@ <h3>Method Details</h3>
327327
body: object, The request body.
328328
The object takes the form of:
329329

330-
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
330+
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
331331
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
332332
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
333333
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).
@@ -366,7 +366,7 @@ <h3>Method Details</h3>
366366
Returns:
367367
An object of the form:
368368

369-
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
369+
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
370370
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
371371
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
372372
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).
@@ -429,7 +429,7 @@ <h3>Method Details</h3>
429429
Returns:
430430
An object of the form:
431431

432-
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
432+
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
433433
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
434434
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
435435
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).
@@ -479,7 +479,7 @@ <h3>Method Details</h3>
479479
{ # Response message for the `ListRegions` method.
480480
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
481481
&quot;regions&quot;: [ # The regions from the specified business.
482-
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
482+
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
483483
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
484484
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
485485
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).
@@ -535,7 +535,7 @@ <h3>Method Details</h3>
535535
body: object, The request body.
536536
The object takes the form of:
537537

538-
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
538+
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
539539
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
540540
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
541541
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).
@@ -574,7 +574,7 @@ <h3>Method Details</h3>
574574
Returns:
575575
An object of the form:
576576

577-
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
577+
{ # Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.
578578
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of the region.
579579
&quot;geotargetArea&quot;: { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
580580
&quot;geotargetCriteriaIds&quot;: [ # Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).

0 commit comments

Comments
 (0)