# Google Shopping Merchant Accounts V1 Client - Class GeoTargetArea (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.0 1.0.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.3 0.2.0 0.1.0 Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class GeoTargetArea.

A list of geotargets that defines the region area.

Generated from protobuf message `google.shopping.merchant.accounts.v1.Region.GeoTargetArea`

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1 \\ Region

## Methods

### __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](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state). |

### getGeotargetCriteriaIds

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).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setGeotargetCriteriaIds

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).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]|string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |