0.15.1 (latest) 0.15.0 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Google Ads Ad Manager V1 Client class VideoTrackingUrl.

Represents a
[ConversionEvent](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ConversionEventEnum.ConversionEvent)
to URL pair that will be pinged when the event happens.

Generated from protobuf message `google.ads.admanager.v1.VideoTrackingUrl`

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ conversion_event` | `int` Required. All possible tracking event types. |
| `↳ url` | `string` Optional. A URL that should be pinged for the conversion event. |

### getConversionEvent

Required. All possible tracking event types.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ConversionEvent](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ConversionEventEnum.ConversionEvent). |

### setConversionEvent

Required. All possible tracking event types.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ConversionEvent](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ConversionEventEnum.ConversionEvent). |

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

### getUrl

Optional. A URL that should be pinged for the conversion event.

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

### setUrl

Optional. A URL that should be pinged for the conversion event.

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

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