# Google Shopping Merchant Conversions V1beta Client - Class AttributionModel (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 AttributionModel.

The attribution model used for this source. We support the same set of
models offered by Google Analytics 4, as described in:
<https://support.google.com/analytics/answer/10596866>.

Protobuf type `google.shopping.merchant.conversions.v1beta.AttributionSettings.AttributionModel`

## Namespace

Google \\ Shopping \\ Merchant \\ Conversions \\ V1beta \\ AttributionSettings

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### ATTRIBUTION_MODEL_UNSPECIFIED

    Value: 0

Unspecified model.

Generated from protobuf enum `ATTRIBUTION_MODEL_UNSPECIFIED = 0;`

### CROSS_CHANNEL_LAST_CLICK

    Value: 1

Cross-channel Last Click model.

Generated from protobuf enum `CROSS_CHANNEL_LAST_CLICK = 1;`

### ADS_PREFERRED_LAST_CLICK

    Value: 2

Ads-preferred Last Click model.

Generated from protobuf enum `ADS_PREFERRED_LAST_CLICK = 2;`

### CROSS_CHANNEL_DATA_DRIVEN

    Value: 5

Cross-channel Data Driven model.

Generated from protobuf enum `CROSS_CHANNEL_DATA_DRIVEN = 5;`

### CROSS_CHANNEL_FIRST_CLICK

    Value: 6

Cross-channel First Click model.

Generated from protobuf enum `CROSS_CHANNEL_FIRST_CLICK = 6;`

### CROSS_CHANNEL_LINEAR

    Value: 7

Cross-channel Linear model.

Generated from protobuf enum `CROSS_CHANNEL_LINEAR = 7;`

### CROSS_CHANNEL_POSITION_BASED

    Value: 8

Cross-channel Position Based model.

Generated from protobuf enum `CROSS_CHANNEL_POSITION_BASED = 8;`

### CROSS_CHANNEL_TIME_DECAY

    Value: 9

Cross-channel Time Decay model.

Generated from protobuf enum `CROSS_CHANNEL_TIME_DECAY = 9;`