---
title: "updatePostbackConversionValue(_:coarseValue:completionHandler:)"
framework: storekit
role: symbol
role_heading: Type Method
path: "storekit/skadnetwork/updatepostbackconversionvalue(_:coarsevalue:completionhandler:)"
---

# 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 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.

## Mentioned in

SKAdNetwork 4 release notes Configuring an advertised app Receiving postbacks in multiple conversion windows

## Discussion

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:) with the lockWindow parameter set to false. This method returns SKANError.Code.invalidConversionValue 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:)](storekit/skadnetwork/updatepostbackconversionvalue(_:coarsevalue:lockwindow:completionhandler:).md)
- [SKAdNetwork.CoarseConversionValue](storekit/skadnetwork/coarseconversionvalue.md)
- [updatePostbackConversionValue(_:completionHandler:)](storekit/skadnetwork/updatepostbackconversionvalue(_:completionhandler:).md)
