---
title: "init(rawValue:)"
framework: storekit
role: symbol
role_heading: Initializer
path: "storekit/skadnetwork/coarseconversionvalue/init(rawvalue:)"
---

# init(rawValue:)

Creates a coarse conversion value from the raw value.

## Declaration

```swift
init(rawValue: String)
```

## Parameters

- `rawValue`: A string that is one of doc://com.apple.storekit/documentation/StoreKit/SKAdNetwork/CoarseConversionValue/low, doc://com.apple.storekit/documentation/StoreKit/SKAdNetwork/CoarseConversionValue/medium, or doc://com.apple.storekit/documentation/StoreKit/SKAdNetwork/CoarseConversionValue/high.

## Discussion

Discussion You don’t need to call the initializer to use coarse conversion values. When you provide the coarse conversion value to the updatePostbackConversionValue(_:coarseValue:completionHandler:) or updatePostbackConversionValue(_:coarseValue:lockWindow:completionHandler:) methods, use the static constants, low, medium, or high.

## See Also

### Providing coarse conversion values

- [high](storekit/skadnetwork/coarseconversionvalue/high.md)
- [low](storekit/skadnetwork/coarseconversionvalue/low.md)
- [medium](storekit/skadnetwork/coarseconversionvalue/medium.md)
