# Google Shopping Merchant Conversions V1 Client - Class ConversionType (1.2.0)

1.2.0 (latest) 1.1.3 1.0.0 0.3.0 0.2.1 0.1.5 Reference documentation and code samples for the Google Shopping Merchant Conversions V1 Client class ConversionType.

Message representing the type of a conversion event.

Generated from protobuf message `google.shopping.merchant.conversions.v1.AttributionSettings.ConversionType`

## Namespace

Google \\ Shopping \\ Merchant \\ Conversions \\ V1 \\ AttributionSettings

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. Conversion event name, as it'll be reported by the client. |
| `↳ report` | `bool` Output only. Option indicating if the type should be included in Merchant Center reporting. |

### getName

Output only. Conversion event name, as it'll be reported by the client.

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

### setName

Output only. Conversion event name, as it'll be reported by the client.

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

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

### getReport

Output only. Option indicating if the type should be included in Merchant
Center reporting.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setReport

Output only. Option indicating if the type should be included in Merchant
Center reporting.

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

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