# Google Analytics Admin V1alpha Client - Class SKAdNetworkConversionValueSchema (0.32.0)

0.32.0 (latest) 0.31.3 0.30.0 0.29.1 0.28.1 0.27.0 0.26.0 0.25.2 0.24.2 0.23.0 0.22.5 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.2

> [!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 Analytics Admin V1alpha Client class SKAdNetworkConversionValueSchema.

SKAdNetwork conversion value schema of an iOS stream.

Generated from protobuf message `google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema`

## Namespace

Google \\ Analytics \\ Admin \\ V1alpha

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema |
| `↳ postback_window_one` | `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.PostbackWindow` Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value). Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled. |
| `↳ postback_window_two` | `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.PostbackWindow` The conversion value settings for the second postback window. This field should only be configured if there is a need to define different conversion values for this postback window. If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used. |
| `↳ postback_window_three` | `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.PostbackWindow` The conversion value settings for the third postback window. This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 \& 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two. |
| `↳ apply_conversion_values` | `bool` If enabled, the GA SDK will set conversion values using this schema definition, and schema will be exported to any Google Ads accounts linked to this property. If disabled, the GA SDK will not automatically set conversion values, and also the schema will not be exported to Ads. |

### getName

Identifier. Resource name of the schema. This will be child of ONLY an iOS
stream, and there can be at most one such child under an iOS stream.

Format:
properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema

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

### setName

Identifier. Resource name of the schema. This will be child of ONLY an iOS
stream, and there can be at most one such child under an iOS stream.

Format:
properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema

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

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

### getPostbackWindowOne

Required. The conversion value settings for the first postback window.

These differ from values for postback window two and three in that they
contain a "Fine" grained conversion value (a numeric value).
Conversion values for this postback window must be set. The other windows
are optional and may inherit this window's settings if unset or disabled.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.PostbackWindow|null` |   |

### hasPostbackWindowOne

### clearPostbackWindowOne

### setPostbackWindowOne

Required. The conversion value settings for the first postback window.

These differ from values for postback window two and three in that they
contain a "Fine" grained conversion value (a numeric value).
Conversion values for this postback window must be set. The other windows
are optional and may inherit this window's settings if unset or disabled.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.PostbackWindow` |

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

### getPostbackWindowTwo

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different
conversion values for this postback window.
If enable_postback_window_settings is set to false for this postback
window, the values from postback_window_one will be used.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.PostbackWindow|null` |   |

### hasPostbackWindowTwo

### clearPostbackWindowTwo

### setPostbackWindowTwo

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different
conversion values for this postback window.
If enable_postback_window_settings is set to false for this postback
window, the values from postback_window_one will be used.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.PostbackWindow` |

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

### getPostbackWindowThree

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different
conversion values for this postback window. It is allowed to configure
window 3 without setting window 2. In case window 1 \& 2 settings are set
and enable_postback_window_settings for this postback window is set to
false, the schema will inherit settings from postback_window_two.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.PostbackWindow|null` |   |

### hasPostbackWindowThree

### clearPostbackWindowThree

### setPostbackWindowThree

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different
conversion values for this postback window. It is allowed to configure
window 3 without setting window 2. In case window 1 \& 2 settings are set
and enable_postback_window_settings for this postback window is set to
false, the schema will inherit settings from postback_window_two.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.PostbackWindow` |

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

### getApplyConversionValues

If enabled, the GA SDK will set conversion values using this schema
definition, and schema will be exported to any Google Ads accounts linked
to this property. If disabled, the GA SDK will not automatically set
conversion values, and also the schema will not be exported to Ads.

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

### setApplyConversionValues

If enabled, the GA SDK will set conversion values using this schema
definition, and schema will be exported to any Google Ads accounts linked
to this property. If disabled, the GA SDK will not automatically set
conversion values, and also the schema will not be exported to Ads.

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

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