POBExternalUserId Class Reference
Inherits from | NSObject |
---|---|
Declared in | POBExternalUserId.h |
Overview
Class to hold the user’s identity data. This data will be fetched by the application from identity vendors which is required by different identity partners. Application should pass this data to OpenWrap SDK which will be sent in each ad request.
source
Name of the data partner
@property (nonatomic, readonly) NSString *source
Declared In
POBExternalUserId.h
externalUserId
Id of the pata partner
@property (nonatomic, readonly) NSString *externalUserId
Declared In
POBExternalUserId.h
extension
Custom key-value data.
@property (nonatomic, strong) NSDictionary<NSString*NSObject*> *extension
Discussion
The extension can have keys as string and values should be NSString, NSNumber, NSArray, NSDictionary etc.
Declared In
POBExternalUserId.h
atype
A non-zero value for user agent type
@property (nonatomic, assign) int atype
Discussion
Please refer the IAB document for more details.
Declared In
POBExternalUserId.h
– initWithSource:andId:
Method to instantiate POBExternalUserId
- (instancetype)initWithSource:(NSString *)source andId:(NSString *)externalUserId
Parameters
source |
Name of the data partner. It is a mandatory parameter. |
---|---|
externalUserId |
Id of the pata partner. It is a mandatory parameter. |
Return Value
Instance of POBExternalUserId
Declared In
POBExternalUserId.h