ExternalUserId
@objcMembers
public class ExternalUserId : NSObject, JSONConvertible
Defines the User Id Object from an External Thrid Party Source https://github.com/InteractiveAdvertisingBureau/openrtb/blob/main/extensions/2.x_official_extensions/eids.md
-
The source of the external user ID.
Declaration
Swift
public var source: String -
Array of extended ID UID objects from the given source.
Declaration
Swift
public var uids: [UserUniqueID] -
Additional attributes related to the external user ID, represented as an optional dictionary.
Declaration
Swift
public var ext: [String : Any]?
-
Initializes a new
ExternalUserIdobject.Declaration
Swift
public init(source: String, uids: [UserUniqueID], ext: [String : Any]? = nil)Parameters
sourceThe source of the external user ID (e.g., a third-party provider).
uidsA list of
UserUniqueIDobjects representing the user’s unique identifiers.extOptional dictionary for additional attributes related to the external user ID. Default is
nil. -
Converts the
ExternalUserIdinstance to a JSON dictionary.Declaration
Swift
public func toJSONDictionary() -> [String : Any]