---
title: "updatePostbackConversionValue(_:coarseValue:completionHandler:)"
framework: StoreKit
role: symbol
role_heading: Type Method
platforms: [iOS 16.1+, iPadOS 16.1+, Mac Catalyst 16.1+]
path: storekit/skadnetwork/4090669-updatepostbackconversionvalue
---

# updatePostbackConversionValue(_:coarseValue:completionHandler:)

Updates the fine and coarse conversion values, and calls a completion handler if the update fails.

## Declaration

```swift
class func updatePostbackConversionValue(_ fineValue: Int, coarseValue: SKAdNetwork.CoarseConversionValue, completionHandler completion: (@Sendable ((any Error)?) -> Void)? = nil)
```

```swift
class func updatePostbackConversionValue(_ fineValue: Int, coarseValue: SKAdNetwork.CoarseConversionValue) async throws
```

## Parameters

- `fineValue`: An unsigned 6-bit value `≥0` and `≤63`. The app or the ad network defines the meaning of the conversion value.
- `coarseValue`: An [doc://com.apple.storekit/documentation/StoreKit/SKAdNetwork/CoarseConversionValue](storekit/skadnetwork/coarseconversionvalue.md) value. The app or the ad network defines the meaning of this value.
- `completion`: An optional completion handler you provide to catch and handle any errors this method encounters when you update a conversion value. Set this value to `nil` if you don’t provide a handler.

## Discussion

Call this method when the user first launches an app to register the app installation, and optionally again, to update conversion values as the user engages with the app.

This method is identical to calling [updatePostbackConversionValue(_:coarseValue:lockWindow:completionHandler:)](updatepostbackconversionvalue(_:coarsevalue:lockwindow:completionhandler:).md) with the `lockWindow` parameter set to `false`.

This method returns [SKANError.Code.invalidConversionValue](../skanerror-swift.struct/code/invalidconversionvalue.md) if the `fineValue` is outside of the allowed range.

> **important:** The system ignores calls to this method if the `fineValue` is outside of the valid range. Valid conversion updates your app sends before or after an invalid conversion remain available.

## See Also

### Providing conversion information

- [updatePostbackConversionValue(_:coarseValue:lockWindow:completionHandler:)](updatepostbackconversionvalue(_:coarsevalue:lockwindow:completionhandler:).md)
- [SKAdNetwork.CoarseConversionValue](coarseconversionvalue.md)
- [updatePostbackConversionValue(_:completionHandler:)](updatepostbackconversionvalue(_:completionhandler:).md)
