One Logo Pool Ball
AdAttributionKit · IOS API REFERENCE

PostbackUpdate

struct · iOS 18.0+ · SDK 27.1

struct PostbackUpdate

Values you use to update properties in a postback, such as the conversion value.

Members (7)

get · iOS 18.0+

lockPostback

TypeScript
get lockPostback(): boolean
Swift declaration
let lockPostback: Bool

A Boolean value that indicates whether the system should lock the postback, reducing system time deliver a signal

get · iOS 18.4+

conversionTag

TypeScript
get conversionTag(): (string) | null
Swift declaration
let conversionTag: String?
get · iOS 18.0+

conversionTypes

TypeScript
get conversionTypes(): (Array<PostbackUpdate_ConversionType>) | null
Swift declaration
let conversionTypes: [PostbackUpdate.ConversionType]?

An array conversion type the system uses to determine which postbacks to update with this postback update. If `nil`, the system updates all types of postbacks by default.

init · iOS 18.0+

init

TypeScript
static initFineConversionValueLockPostbackCoarseConversionValueConversionTypes(fineConversionValue: number, lockPostback: boolean, coarseConversionValue?: (CoarseConversionValue) | null, conversionTypes?: (Array<PostbackUpdate_ConversionType>) | null): PostbackUpdate
Swift declaration
init(fineConversionValue: Int, lockPostback: Bool, coarseConversionValue: CoarseConversionValue? = nil, conversionTypes: [PostbackUpdate.ConversionType]? = nil)

Creates a new postback update with the conversions values, conversion types, and lock indication you provide. - Parameters: - fineConversionValue: An integer that represents the fine conversion value. - lockPostback: A Boolean value that indicates whether the system can lock the postback, reducing the system time to deliver a signal. - coarseConversionValue: An optional `CoarseConversionValue` enumeration value that represents the coarse conversion value. Defaults to `nil`. - conversionTypes: An optional array of conversion types the system uses to determine which postbacks to update. Defaults to `nil` and the system updates all types of postbacks by default.

init · iOS 18.4+

init

TypeScript
static initFineConversionValueLockPostbackConversionTagCoarseConversionValueConversionTypes(fineConversionValue: number, lockPostback: boolean, conversionTag: string, coarseConversionValue?: (CoarseConversionValue) | null, conversionTypes?: (Array<PostbackUpdate_ConversionType>) | null): PostbackUpdate
Swift declaration
init(fineConversionValue: Int, lockPostback: Bool, conversionTag: String, coarseConversionValue: CoarseConversionValue? = nil, conversionTypes: [PostbackUpdate.ConversionType]? = nil)
get · iOS 18.0+

fineConversionValue

TypeScript
get fineConversionValue(): number
Swift declaration
let fineConversionValue: Int

An integer that represents the fine conversion value.

get · iOS 18.0+

coarseConversionValue

TypeScript
get coarseConversionValue(): (CoarseConversionValue) | null
Swift declaration
let coarseConversionValue: CoarseConversionValue?

An enumeration that represents the coarse conversion value.

Skipped declarations

No declarations were skipped in this snapshot.

All AdAttributionKit types →