# Google Ads Data Manager V1 Client - Class Location (0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.2 Reference documentation and code samples for the Google Ads Data Manager V1 Client class Location.

The baseline location of the request. Baseline location is on OR-list of
ISO 3166-1 alpha-2 region codes of the requested regions.

Generated from protobuf message `google.ads.datamanager.v1.Baseline.Location`

## Namespace

Google \\ Ads \\ DataManager \\ V1 \\ Baseline

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ region_codes` | `string[]` List of ISO 3166-1 alpha-2 region codes. |

### getRegionCodes

List of ISO 3166-1 alpha-2 region codes.

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

### setRegionCodes

List of ISO 3166-1 alpha-2 region codes.

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

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