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 *birthYearDeclared In
POBUserInfo.h
gender
Sets user gender, Possible options are:
@property (nonatomic, assign) POBGender genderDiscussion
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 *metroDeclared 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 *zipDeclared In
POBUserInfo.h
city
City of user e.g “Los Angeles”
@property (nonatomic, strong) NSString *cityDeclared 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 *regionDeclared In
POBUserInfo.h
keywords
A comma-separated list of keywords indicating the consumer’s interests or intent.
@property (nonatomic, strong) NSString *keywordsDeclared In
POBUserInfo.h
– addDataProvider:
Adds data containing user segment details
- (void)addDataProvider:(POBDataProvider *)dataProviderParameters
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 *)nameParameters
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)removeAllDataProvidersDeclared In
POBUserInfo.h
– dataProviderWithName:
Returns user data with a given name
- (POBDataProvider *_Nullable)dataProviderWithName:(NSString *)nameParameters
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*> *)dataProvidersReturn Value
Array of POBDataProviders
Declared In
POBUserInfo.h