# Google Shopping Merchant Conversions V1beta 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

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Shopping Merchant Conversions V1beta Client class ConversionType.

Message representing a types of conversion events

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

## Namespace

Google \\ Shopping \\ Merchant \\ Conversions \\ V1beta \\ 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` |   |