POBUserInfo Class Reference
Inherits from | NSObject |
---|---|
Declared in | POBUserInfo.h |
birthYear
The year of birth in YYYY format.
Example : birthYear = @1988;
@property (nonatomic, strong) NSNumber *birthYear
Declared In
POBUserInfo.h
gender
Sets user gender, Possible options are:
@property (nonatomic, assign) POBGender gender
Discussion
Sets user gender, Possible options are:
- POBGenderOther
- POBGenderMale,
- POBGenderFemale
See Also
Declared In
POBUserInfo.h
metro
Google metro code; similar to but not exactly Nielsen DMAs. e.g. For example, New York, NY is also known as 501. Los Angeles, CA, on the other hand has been assigned the number 803.
@property (nonatomic, strong) NSString *metro
Declared In
POBUserInfo.h
zip
The user’s zip or postal code. This may be useful in delivering geographically relevant ads e.g 94063 for Redwood City, CA
@property (nonatomic, strong) NSString *zip
Declared In
POBUserInfo.h
city
City of user e.g “Los Angeles”
@property (nonatomic, strong) NSString *city
Declared In
POBUserInfo.h
region
Region code using ISO-3166-2; 2-letter state code if USA e.g for France you can use ‘FR’
@property (nonatomic, strong) NSString *region
Declared In
POBUserInfo.h
keywords
A comma-separated list of keywords indicating the consumer’s interests or intent.
@property (nonatomic, strong) NSString *keywords
Declared In
POBUserInfo.h
– addDataProvider:
Adds data containing user segment details
- (void)addDataProvider:(POBDataProvider *)dataProvider
Parameters
dataProvider |
data to be added |
---|
See Also
Declared In
POBUserInfo.h
– removeDataProviderWithName:
Removes data for a specific provider from the user object
- (void)removeDataProviderWithName:(NSString *)name
Parameters
name |
name of the data provider to remove data for |
---|
Declared In
POBUserInfo.h
– removeAllDataProviders
Removes data for all providers from the user object
- (void)removeAllDataProviders
Declared In
POBUserInfo.h
– dataProviderWithName:
Returns user data with a given name
- (POBDataProvider *_Nullable)dataProviderWithName:(NSString *)name
Parameters
name |
data provider name |
---|
Return Value
Reference of the POBDataProvider object associated with the given name
Declared In
POBUserInfo.h
– dataProviders
Returns user data from all the data providers
- (NSArray<POBDataProvider*> *)dataProviders
Return Value
Array of POBDataProviders
Declared In
POBUserInfo.h