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

Event parameter for GA4 events.

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

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parameter_name` | `string` Required. The name of the parameter to use. |
| `↳ value` | `string` Required. The string representation of the value of the parameter to set. |

### getParameterName

Required. The name of the parameter to use.

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

### setParameterName

Required. The name of the parameter to use.

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

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

### getValue

Required. The string representation of the value of the parameter to set.

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

### setValue

Required. The string representation of the value of the parameter to set.

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

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