Impression
public struct Impression : Encodable, JSONEncodable, Hashable
An Impression is any rendering of a product in the app.
-
The product that was rendered.
Declaration
Swift
public var productId: String?
-
Required for promoted products. Must be the ID for the auction the product won.
Declaration
Swift
public var auctionId: String?
-
The marketplace’s ID for the impression.
Declaration
Swift
public var id: String?
-
Undocumented
Declaration
Swift
public var resolvedBidId: String?
-
Undocumented
Declaration
Swift
public init(productId: String? = nil, auctionId: String? = nil, id: String? = nil, resolvedBidId: String? = nil)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws