Represents the address of a geographical point. Contains information about the street address, country, province / state, and postal code.

For instance, the address "1600 Amphitheatre Parkway, Mountain View, CA
94043" will have the following values:

- `getStreetAddress()`: "1600 Amphitheatre Parkway"
- `getStreetAddress2()`: `null`
- `getCityName()`: "Mountain View"
- `getProvinceCode()`: "CA"
- `getProvinceName()`: "California"
- `getPostalCode()`: "94043"
- `getCountryCode()`: "US"

### Methods:

| Member | Type | Description |
|---|---|---|
| [getCityName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_address#getCityName) | `String` | Returns the city name, or `null` if not known. |
| [getCountryCode()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_address#getCountryCode) | `String` | Returns the country code, or `null` if not known. |
| [getPostalCode()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_address#getPostalCode) | `String` | Returns the postal code, or `null` if not known. |
| [getProvinceCode()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_address#getProvinceCode) | `String` | Returns the province / state code, or `null` if not known. |
| [getProvinceName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_address#getProvinceName) | `String` | Returns the province / state name, or `null` if not known. |
| [getStreetAddress()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_address#getStreetAddress) | `String` | Returns the street address, or `null` if not known. |
| [getStreetAddress2()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_address#getStreetAddress2) | `String` | Returns the second line of the street address, or `null` if not known. |

## `getCityName()`

Returns the city name, or `null` if not known.

### Return values:

| Type | Description |
|---|---|
| `String` | The city name, or `null` if not known. |

## `getCountryCode()`

Returns the country code, or `null` if not known.

### Return values:

| Type | Description |
|---|---|
| `String` | The country code, or `null` if not known. |

## `getPostalCode()`

Returns the postal code, or `null` if not known.

### Return values:

| Type | Description |
|---|---|
| `String` | The postal code, or `null` if not known. |

## `getProvinceCode()`

Returns the province / state code, or `null` if not known.

For instance, addresses in California would return `"CA"`.

### Return values:

| Type | Description |
|---|---|
| `String` | The province code, or `null` if not known. |

## `getProvinceName()`

Returns the province / state name, or `null` if not known.

### Return values:

| Type | Description |
|---|---|
| `String` | The province name, or `null` if not known. |

## `getStreetAddress()`

Returns the street address, or `null` if not known.

### Return values:

| Type | Description |
|---|---|
| `String` | The street address, or `null` if not known. |

## `getStreetAddress2()`

Returns the second line of the street address, or `null` if not known.

> [!WARNING]
> **Deprecated.**

### Return values:

| Type | Description |
|---|---|
| `String` | The second line of the street address, or `null` if not known. |