NativeEventTrackerResponse
@objcMembers
public class NativeEventTrackerResponse : NSObject, JsonDecodable
Class representing a response for a native event tracker.
-
Type of event to track. See Event Types table.
Declaration
Swift
public var event: Int?
-
Type of tracking requested. See Event Tracking Methods table.
Declaration
Swift
public var method: Int?
-
The URL of the image or js. Required for image or js, optional for custom.
Declaration
Swift
public var url: String?
-
To be agreed individually with the exchange, an array of key:value objects for custom tracking, for example the account number of the DSP with a tracking company. IE {“accountnumber”:”123”}.
Declaration
Swift
public var customdata: [String : Any]?
-
This object is a placeholder that may contain custom JSON agreed to by the parties to support flexibility beyond the standard defined in this specification
Declaration
Swift
public var ext: [String : Any]?
-
Initializes a
NativeEventTrackerResponse
object from a JSON dictionary.Declaration
Swift
public required init(jsonDictionary: [String : Any])
Parameters
jsonDictionary
A dictionary containing the JSON data to initialize the object.
-
Initializes with default values
Declaration
Swift
public override init()