Provides access to asset group URL fields.

### Methods:

| Member | Type | Description |
|---|---|---|
| [clearMobileFinalUrl()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#clearMobileFinalUrl) | `void` | Clears the mobile final URL of the asset group. |
| [clearPath1()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#clearPath1) | `void` | Clears the first field of the display path of the asset group. |
| [clearPath2()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#clearPath2) | `void` | Clears the second field of the display path of the asset group. |
| [getFinalUrl()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#getFinalUrl) | `String` | Returns the final URL of the asset group or `null` if there is no final URL. |
| [getMobileFinalUrl()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#getMobileFinalUrl) | `String` | Returns the mobile final URL of the asset group or `null` if there is no mobile final URL. |
| [getPath1()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#getPath1) | `String` | Returns the first field of the display path that appears with the asset group's ads' display URLs, or `null` if the asset group does not have a display path. |
| [getPath2()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#getPath2) | `String` | Returns the second field of the display path that appears with the asset group's ads' display URLs, or `null` if the asset group does not have a second display path field. |
| [setFinalUrl(finalUrl)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#setFinalUrl_finalUrl) | `void` | Sets the final URL of the asset group. |
| [setMobileFinalUrl(mobileFinalUrl)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#setMobileFinalUrl_mobileFinalUrl) | `void` | Sets the mobile final URL of the asset group. |
| [setPath1(path1)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#setPath1_path1) | `void` | Sets the first field of the display path of the asset group. |
| [setPath2(path2)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_assetgroupurls#setPath2_path2) | `void` | Sets the second field of the display path of the asset group. |

## `clearMobileFinalUrl()`

Clears the mobile final URL of the asset group.

Clearing mobile final URL will cause the final URL to be used instead.

See [Using
Upgraded URLs](https://support.google.com/google-ads/answer/6049217) for more information.

Returns nothing.

## `clearPath1()`

Clears the first field of the display path of the asset group.

Clearing the first field of the display path will result in an error if
the second field of the display path is not already cleared.

See [Path](https://support.google.com/google-ads/answer/7046795)
for more information.

Returns nothing.

## `clearPath2()`

Clears the second field of the display path of the asset group.

Clearing the first field of the display path will result in an error if
the second field of the display path is not already cleared.

See [Path](https://support.google.com/google-ads/answer/7046795)
for more information.

Returns nothing.

## `getFinalUrl()`

Returns the final URL of the asset group or `null` if there is no final URL.

The final URL represents the actual landing page for your asset group. The final URL must be the URL of the page that the user
ends up on after clicking on your ad, once all the redirects have taken
place.

Final URLs follow the same override rules as destination URLs. For
example, a final URL at the keyword level overrides a final URL at an ad
level.

See [Using
Upgraded URLs](https://support.google.com/google-ads/answer/6049217) for more information.

### Return values:

| Type | Description |
|---|---|
| `String` | The final URL of the asset group. |

## `getMobileFinalUrl()`

Returns the mobile final URL of the asset group or `null` if there is no mobile final URL.

The mobile final URL represents the actual landing page for your asset group on a mobile device. The final mobile URL must be the URL of
the page that the user ends up on after clicking on your ad on a mobile
device, once all the redirects have taken place.

Mobile final URLs follow the same override rules as destination URLs.
For example, a mobile final URL at the keyword level overrides a mobile
final URL at an ad level.

See [Using
Upgraded URLs](https://support.google.com/google-ads/answer/6049217) for more information.

### Return values:

| Type | Description |
|---|---|
| `String` | The mobile final URL of the asset group. |

## `getPath1()`

Returns the first field of the display path that appears with the asset group's ads' display URLs, or `null` if the asset group does not have a display path.

See [Path](https://support.google.com/google-ads/answer/7046795)
for more information.

### Return values:

| Type | Description |
|---|---|
| `String` | The first field of the display path that appears with the asset group's ads' display URLs, or `null` if the asset group does not have a display path. |

## `getPath2()`

Returns the second field of the display path that appears with the asset group's ads' display URLs, or `null` if the asset group does not have a second display path field.

### Return values:

| Type | Description |
|---|---|
| `String` | The second field of the display path that appears with the asset group's ads' display URLs, or `null` if the asset group does not have a second display path field. |

## `setFinalUrl(finalUrl)`

Sets the final URL of the asset group.

The final URL represents the actual landing page for your asset group. The final URL must be the URL of the page that the user
ends up on after clicking on your ad, once all the redirects have taken
place.

Final URLs follow the same override rules as destination URLs. For
example, a final URL at the keyword level overrides a final URL at an ad
level.

See [Using
Upgraded URLs](https://support.google.com/google-ads/answer/6049217) for more information.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| finalUrl | `String` | The final URL of the asset group. |

## `setMobileFinalUrl(mobileFinalUrl)`

Sets the mobile final URL of the asset group.

The mobile final URL represents the actual landing page for your asset group on a mobile device. The final mobile URL must be the URL of
the page that the user ends up on after clicking on your ad on a mobile
device, once all the redirects have taken place.

Mobile final URLs follow the same override rules as destination URLs.
For example, a mobile final URL at the keyword level overrides a mobile
final URL at an ad level.

See [Using
Upgraded URLs](https://support.google.com/google-ads/answer/6049217) for more information.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| mobileFinalUrl | `String` | The mobile final URL of the asset group. |

## `setPath1(path1)`

Sets the first field of the display path of the asset group.

See [Path](https://support.google.com/google-ads/answer/7046795)
for more information.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| path1 | `String` | The first field of the display path of the asset group. |

## `setPath2(path2)`

Sets the second field of the display path of the asset group.

Setting the second field of the display path will result in an error if
the first field of the display path is not already set.

See [Path](https://support.google.com/google-ads/answer/7046795)
for more information.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| path2 | `String` | The second field of the display path of the asset group. |