You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/merchantapi_accounts_v1.accounts.regions.html
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ <h3>Method Details</h3>
118
118
"requests": [ # Required. The region(s) to create. The maximum number of regions that can be created in a batch is 100.
119
119
{ # Request message for the `CreateRegion` method.
120
120
"parent": "A String", # Required. The account to create a region for. Format: `accounts/{account}`
121
-
"region": { # 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 codesor, 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
+
"region": { # 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.
122
122
"displayName": "A String", # Optional. The display name of the region.
123
123
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
124
124
"geotargetCriteriaIds": [ # 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>
162
162
163
163
{ # Response message for the `BatchCreateRegions` method.
164
164
"regions": [ # 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 codesor, 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.
166
166
"displayName": "A String", # Optional. The display name of the region.
167
167
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
168
168
"geotargetCriteriaIds": [ # 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>
236
236
{ # Request message for the `BatchUpdateRegions` method.
237
237
"requests": [ # Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
238
238
{ # Request message for the `UpdateRegion` method.
239
-
"region": { # 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 codesor, 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
+
"region": { # 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.
240
240
"displayName": "A String", # Optional. The display name of the region.
241
241
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
242
242
"geotargetCriteriaIds": [ # 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>
280
280
281
281
{ # Response message for the `BatchUpdateRegions` method.
282
282
"regions": [ # 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 codesor, 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.
284
284
"displayName": "A String", # Optional. The display name of the region.
285
285
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
286
286
"geotargetCriteriaIds": [ # 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>
327
327
body: object, The request body.
328
328
The object takes the form of:
329
329
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 codesor, 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.
331
331
"displayName": "A String", # Optional. The display name of the region.
332
332
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
333
333
"geotargetCriteriaIds": [ # 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>
366
366
Returns:
367
367
An object of the form:
368
368
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 codesor, 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.
370
370
"displayName": "A String", # Optional. The display name of the region.
371
371
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
372
372
"geotargetCriteriaIds": [ # 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>
429
429
Returns:
430
430
An object of the form:
431
431
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 codesor, 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.
433
433
"displayName": "A String", # Optional. The display name of the region.
434
434
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
435
435
"geotargetCriteriaIds": [ # 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>
479
479
{ # Response message for the `ListRegions` method.
480
480
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
481
481
"regions": [ # 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 codesor, 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.
483
483
"displayName": "A String", # Optional. The display name of the region.
484
484
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
485
485
"geotargetCriteriaIds": [ # 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>
535
535
body: object, The request body.
536
536
The object takes the form of:
537
537
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 codesor, 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.
539
539
"displayName": "A String", # Optional. The display name of the region.
540
540
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
541
541
"geotargetCriteriaIds": [ # 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>
574
574
Returns:
575
575
An object of the form:
576
576
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 codesor, 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.
578
578
"displayName": "A String", # Optional. The display name of the region.
579
579
"geotargetArea": { # A list of geotargets that defines the region area. # Optional. A list of geotargets that defines the region area.
580
580
"geotargetCriteriaIds": [ # 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