ImpressionEvent
public struct ImpressionEvent : Encodable, JSONEncodable, Hashable
A product has become visible to the consumer. In case you cannot send the impression when the product is visible, send us an impression event when the product was rendered in the HTML or if that’s also not possible when your API returns the results. It is important to select the most specific event so that your vendors have more accurate CTR metrics, which allow them to better predict their campaigns.
-
Undocumented
Declaration
Swift
public var impressions: [Impression]
-
RFC3339 formatted timestamp including UTC offset
Declaration
Swift
public var occurredAt: Date?
-
Undocumented
Declaration
Swift
public init(impressions: [Impression], occurredAt: Date? = nil)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws