Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class GeoTargetArea.
A list of geotargets that defines the region area.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.Region.GeoTargetArea
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1beta \ RegionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ geotarget_criteria_ids |
int[]|string[]
Required. A non-empty list of location IDs. They must all be of the same location type (for example, state). |
getGeotargetCriteriaIds
Required. A non-empty list of location IDs.
They must all be of the same location type (for example, state).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<int>|Google\Protobuf\RepeatedField<string> |
|
setGeotargetCriteriaIds
Required. A non-empty list of location IDs.
They must all be of the same location type (for example, state).
| Parameter | |
|---|---|
| Name | Description |
var |
int[]|string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|