# Google Ads Data Manager V1 Client - Class EventLocation (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 EventLocation.

The location where the event occurred.

Generated from protobuf message `google.ads.datamanager.v1.EventLocation`

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ store_id` | `string` Optional. Required for Store Sales. The identifier to represent a physical store where the event happened. |
| `↳ city` | `string` Optional. The name of the city where the event occurred. |
| `↳ subdivision_code` | `string` Optional. The ISO 3166-2 subdivision code where the event occurred. |
| `↳ region_code` | `string` Optional. The 2-letter CLDR region code of the user's address. |
| `↳ subcontinent_code` | `string` Optional. The subcontinent code in UN M49 format where the event occurred. |
| `↳ continent_code` | `string` Optional. The continent code in UN M49 format where the event occurred. |

### getStoreId

Optional. Required for Store Sales. The identifier to represent a physical
store where the event happened.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setStoreId

Optional. Required for Store Sales. The identifier to represent a physical
store where the event happened.

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

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

### getCity

Optional. The name of the city where the event occurred.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCity

Optional. The name of the city where the event occurred.

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

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

### getSubdivisionCode

Optional. The ISO 3166-2 subdivision code where the event occurred.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSubdivisionCode

Optional. The ISO 3166-2 subdivision code where the event occurred.

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

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

### getRegionCode

Optional. The 2-letter CLDR region code of the user's address.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRegionCode

Optional. The 2-letter CLDR region code of the user's address.

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

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

### getSubcontinentCode

Optional. The subcontinent code in UN M49 format where the event occurred.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSubcontinentCode

Optional. The subcontinent code in UN M49 format where the event occurred.

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

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

### getContinentCode

Optional. The continent code in UN M49 format where the event occurred.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setContinentCode

Optional. The continent code in UN M49 format where the event occurred.

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

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