public class UserData extends Object
| Constructor and Description |
|---|
UserData()
Default Constructor.
|
UserData(String email,
String phone,
GenderEnum gender,
String dateOfBirth,
String lastName,
String firstName,
String city,
String state,
String zipcode,
String countryCode,
String externalId,
String clientIpAddress,
String clientUserAgent,
String fbc,
String fbp,
String subscriptionId,
String fbLoginId,
String leadId,
String f5first,
String f5last,
String fi,
String dobd,
String dobm,
String doby,
String madid,
String anonId,
String ctwaClid,
String pageId) |
| Modifier and Type | Method and Description |
|---|---|
UserData |
anonId(String anonId)
Set the ID of a person who has installed the app anonymously
|
UserData |
cities(List<String> cities)
Set cities in lower-case without spaces or punctuation.
|
UserData |
city(String city)
Set a city in lower-case without spaces or punctuation.
|
UserData |
clientIpAddress(String clientIpAddress)
Set IP address of the browser corresponding to the event.
|
UserData |
clientUserAgent(String clientUserAgent)
Set user agent for the browser corresponding to the event.
|
UserData |
countryCode(String countryCode)
Set a two-letter country code in lowercase.
|
UserData |
countryCodes(List<String> countryCodes)
Set two-letter country codes in lowercase.
|
UserData |
ctwaClid(String ctwaClid)
Get the ctwaClid of the conversation that was started on WhatsApp
|
UserData |
dateOfBirth(String dateOfBirth)
Set a date of birth given as year, month, and day.
|
UserData |
datesOfBirth(List<String> datesOfBirth)
Set dates of birth given as year, month, and day.
|
UserData |
dobd(String dobd)
Set dobd for the event.
|
UserData |
dobm(String dobm)
Set dobm for the event.
|
UserData |
doby(String doby)
Set doby for the event.
|
UserData |
email(String email)
Set an email address, in lowercase.
|
UserData |
emails(List<String> emails)
Set multiple email addresses, in lowercase.
|
boolean |
equals(Object o) |
UserData |
externalId(String externalId)
Set any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
cookie IDs.
|
UserData |
externalIds(List<String> externalIds)
Set any unique IDs from the advertiser, such as loyalty membership IDs, user IDs, and external
cookie IDs.
|
UserData |
f5first(String f5first)
Set f5first for the event.
|
UserData |
f5last(String f5last)
Set f5last for the event.
|
UserData |
fbc(String fbc)
Set Facebook click ID value stored in the _fbc browser cookie under your domain.
|
UserData |
fbLoginId(String fbLoginId)
Set Facebook Login ID for the user in this event.
|
UserData |
fbp(String fbp)
Set Facebook browser ID value stored in the _fbp browser cookie under your domain.
|
UserData |
fi(String fi)
Set fi for the event.
|
UserData |
firstName(String firstName)
Set a first name in lowercase.
|
UserData |
firstNames(List<String> firstNames)
Set first names in lowercase.
|
UserData |
gender(GenderEnum gender)
Gender.
|
UserData |
genders(List<GenderEnum> genders)
Gender.
|
String |
getAnonId()
ID of the person who has installed the app anonymously
|
List<String> |
getCities()
Cities in lower-case without spaces or punctuation.
|
String |
getCity()
A city in lower-case without spaces or punctuation.
|
String |
getClientIpAddress()
The IP address of the browser corresponding to the event.
|
String |
getClientUserAgent()
The user agent for the browser corresponding to the event.
|
String |
getCountryCode()
A two-letter country code in lowercase.
|
List<String> |
getCountryCodes()
Two-letter country codes in lowercase.
|
String |
getCtwaClid()
ctwaClid of the conversation that was started on WhatsApp
|
String |
getDateOfBirth()
Return a date of birth given as year, month, and day.
|
List<String> |
getDatesOfBirth()
Return dates of birth given as year, month, and day.
|
String |
getDobd()
The dobd for the event.
|
String |
getDobm()
The dobm for the event.
|
String |
getDoby()
The doby for the event.
|
String |
getEmail()
An email address, in lowercase.
|
List<String> |
getEmails()
Email addresses, in lowercase.
|
String |
getExternalId()
Any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
cookie IDs.
|
List<String> |
getExternalIds()
Any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
cookie IDs.
|
String |
getF5first()
The f5first for the event.
|
String |
getF5last()
The f5last for the event.
|
String |
getFbc()
The Facebook click ID value stored in the _fbc browser cookie under your domain.
|
String |
getFbLoginId()
The Facebook Login ID for the user in this event.
|
String |
getFbp()
The Facebook browser ID value stored in the _fbp browser cookie under your domain.
|
String |
getFi()
The fi for the event.
|
String |
getFirstName()
A first name in lowercase.
|
List<String> |
getFirstNames()
First names in lowercase.
|
GenderEnum |
getGender()
Gender, Male or Female.
|
List<GenderEnum> |
getGenders()
Gender, Male or Female.
|
String |
getLastName()
A last name in lowercase.
|
List<String> |
getLastNames()
Last names in lowercase.
|
String |
getLeadId()
The LeadId for the event.
|
String |
getMadid()
The mobile advertiser id
|
String |
getPageId()
ID of the page that the ad is associated with
|
String |
getPhone()
A phone number.
|
List<String> |
getPhones()
Phone numbers.
|
String |
getState()
A two-letter state code in lowercase.
|
List<String> |
getStates()
Two-letter state codes in lowercase.
|
String |
getSubscriptionId()
The subscription ID for the user in this transaction.
|
String |
getZipcode()
A five-digit zip code.
|
List<String> |
getZipcodes()
A five-digit zip codes.
|
int |
hashCode() |
UserData |
lastName(String lastName)
Set a last name in lowercase.
|
UserData |
lastNames(List<String> lastNames)
Set last names in lowercase.
|
UserData |
leadId(String leadId)
Set LeadId for the event.
|
UserData |
madid(String madid)
Set the mobile advertiser id which is either Apple's Advertising Identifier (IDFA) or
Google Android's advertising ID
|
UserData |
pageId(String pageId)
Get the ID of the page that the ad is associated with
|
UserData |
phone(String phone)
Set a phone number.
|
UserData |
phones(List<String> phones)
Set a phone number.
|
void |
setAnonId(String anonId)
Set the ID of a person who has installed the app anonymously
|
void |
setCities(List<String> cities)
Set cities in lower-case without spaces or punctuation.
|
void |
setCity(String city)
Set a city in lower-case without spaces or punctuation.
|
void |
setClientIpAddress(String clientIpAddress)
Set IP address of the browser corresponding to the event.
|
void |
setClientUserAgent(String clientUserAgent)
Set user agent for the browser corresponding to the event.
|
void |
setCountryCode(String countryCode)
Set a two-letter country code in lowercase.
|
void |
setCountryCodes(List<String> countryCodes)
Set two-letter country codes in lowercase.
|
void |
setCtwaClid(String ctwaClid)
Set the ctwaClid of the conversation that was started on WhatsApp
|
void |
setDateOfBirth(String dateOfBirth)
A date of birth given as year, month, and day.
|
void |
setDatesOfBirth(List<String> datesOfBirth)
Dates of birth given as year, month, and day.
|
void |
setDobd(String dobd)
Set dobd for the event.
|
void |
setDobm(String dobm)
Set dobm for the event.
|
void |
setDoby(String doby)
Set doby for the event.
|
void |
setEmail(String email)
Set an email address, in lowercase.
|
void |
setEmails(List<String> emails)
Set email addresses, in lowercase.
|
void |
setExternalId(String externalId)
Set any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
cookie IDs.
|
void |
setExternalIds(List<String> externalIds)
Set any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
cookie IDs.
|
void |
setF5first(String f5first)
Set f5first for the event.
|
void |
setF5last(String f5last)
Set f5last for the event.
|
void |
setFbc(String fbc)
Set Facebook click ID value stored in the _fbc browser cookie under your domain.
|
void |
setFbLoginId(String fbLoginId)
Set Facebook Login ID for the user in this event
|
void |
setFbp(String fbp)
Set Facebook browser ID value stored in the _fbp browser cookie under your domain.
|
void |
setFi(String fi)
Set fi for the event.
|
void |
setFirstName(String firstName)
Set a first name in lowercase.
|
void |
setFirstNames(List<String> firstNames)
Set first names in lowercase.
|
void |
setGender(GenderEnum gender)
Gender, Male or Female.
|
void |
setGenders(List<GenderEnum> genders)
Gender, Male or Female.
|
void |
setLastName(String lastName)
Set a last name in lowercase.
|
void |
setLastNames(List<String> lastNames)
Set last names in lowercase.
|
void |
setLeadId(String leadId)
Set LeadId for the event.
|
void |
setMadid(String madid)
Set the mobile advertiser id which is either Apple's Advertising Identifier (IDFA) or
Google Android's advertising ID
|
void |
setPageId(String pageId)
Set the ID of the page that the ad is associated with
|
void |
setPhone(String phone)
Set a phone number.
|
void |
setPhones(List<String> phones)
Set phone numbers.
|
void |
setState(String state)
Set a two-letter state code in lowercase.
|
void |
setStates(List<String> states)
Set a two-letter state codes in lowercase.
|
void |
setSubscriptionId(String subscriptionId)
Set subscription ID for the user in this transaction.
|
void |
setZipcode(String zipcode)
Set a five-digit zip code.
|
void |
setZipcodes(List<String> zipcodes)
Set five-digit zip codes.
|
UserData |
state(String state)
Set a two-letter state code in lowercase.
|
UserData |
states(List<String> states)
Set two-letter state codes in lowercase.
|
UserData |
subscriptionId(String subscriptionId)
Set subscription ID for the user in this transaction.
|
String |
toString() |
UserData |
zipcode(String zipcode)
Set a five-digit zip code.
|
UserData |
zipcodes(List<String> zipcodes)
Set five-digit zip codes.
|
public UserData()
public UserData(String email, String phone, GenderEnum gender, String dateOfBirth, String lastName, String firstName, String city, String state, String zipcode, String countryCode, String externalId, String clientIpAddress, String clientUserAgent, String fbc, String fbp, String subscriptionId, String fbLoginId, String leadId, String f5first, String f5last, String fi, String dobd, String dobm, String doby, String madid, String anonId, String ctwaClid, String pageId)
email - an email addressphone - a phone numbergender - genderdateOfBirth - date of birthlastName - last namefirstName - first namecity - citystate - statezipcode - zip codecountryCode - country codeexternalId - any unique ID from the advertiser, such as loyalty membership IDs,
user IDs, and external cookie IDs.clientIpAddress - IP address of the browser corresponding to the eventclientUserAgent - user agent for the browser corresponding to the eventfbc - Facebook click ID value stored in the _fbc browser cookie under your domainfbp - Facebook browser ID value stored in the _fbp browser cookie under your domainsubscriptionId - subscription ID for the user in this transactionfbLoginId - ID issued when a person first logs into an instance of the app,
also known as App-Scoped IdleadId - ID associated with a lead generated by Facebook's Lead Ads.f5first - First 5 letters of the first namef5last - First 5 letters of the last namefi - First initialdobd - Date of birth daydobm - Date of birth monthdoby - Date of birth yearmadid - Mobile Advertiser IDanonId - ID of a person who has installed the app anonymouslyctwaClid - ID of a conversation that was started on WhatsApppageId - ID of the page that the ad is associated withpublic UserData email(String email)
Example: joe@eg.com
email - an email addresspublic String getEmail()
public void setEmail(String email)
Example: joe@eg.com
email - an email addresspublic UserData emails(List<String> emails)
Example: ["joe@eg.com","smith@test.com"]
emails - email addressespublic void setEmails(List<String> emails)
Example: ["joe@eg.com","smith@test.com"]
emails - email addressespublic UserData phone(String phone)
Example: 16505551212
phone - a phone numberpublic String getPhone()
public void setPhone(String phone)
Example: 16505551212
phone - a phone numberpublic UserData phones(List<String> phones)
Example: ["16505551212", "2062072008"]
phones - array of phone numberpublic List<String> getPhones()
public void setPhones(List<String> phones)
Example: ["16505551212", "12062072008"]
phones - a phone numberpublic UserData gender(GenderEnum gender)
gender - Male or Female.public GenderEnum getGender()
public void setGender(GenderEnum gender)
gender - Male or Female.public UserData genders(List<GenderEnum> genders)
genders - Male or Female.public List<GenderEnum> getGenders()
public void setGenders(List<GenderEnum> genders)
genders - Male or Female.public UserData dateOfBirth(String dateOfBirth)
Example: 19971226 for December 26, 1997.
dateOfBirth - a date of birth given as year, month, and day.public String getDateOfBirth()
public void setDateOfBirth(String dateOfBirth)
Example: 19971226 for December 26, 1997.
dateOfBirth - a date of birth given as year, month, and day.public UserData datesOfBirth(List<String> datesOfBirth)
Example: 19971226 for December 26, 1997.
datesOfBirth - an array of dates of birth given as year, month, and day.public List<String> getDatesOfBirth()
public void setDatesOfBirth(List<String> datesOfBirth)
Example: 19971226 for December 26, 1997.
datesOfBirth - dates of birth given as year, month, and day.public UserData lastName(String lastName)
Example: smith
lastName - last namepublic String getLastName()
public void setLastName(String lastName)
Example: smith
lastName - last namepublic UserData lastNames(List<String> lastNames)
Example: {"smith", "williams"}
lastNames - last namespublic void setLastNames(List<String> lastNames)
Example: ["smith", "williams"]
lastNames - last namespublic UserData firstName(String firstName)
Example: joe
firstName - first namepublic String getFirstName()
public void setFirstName(String firstName)
Example: joe
firstName - first namepublic UserData firstNames(List<String> firstNames)
Example: {"joe", "john"}
firstNames - first namespublic void setFirstNames(List<String> firstNames)
Example: ["joe", "john"]
firstNames - first namespublic UserData city(String city)
Example: menlopark
city - citypublic String getCity()
public void setCity(String city)
Example: menlopark
city - citypublic UserData cities(List<String> cities)
Example: {"menlopark", "seattle"}
cities - citiespublic List<String> getCities()
public void setCities(List<String> cities)
Example: ["menlopark", "seattle"]
cities - citiespublic UserData state(String state)
Example: ca
state - two-letter state codepublic String getState()
public void setState(String state)
Example: ca
state - two-letter state codepublic UserData states(List<String> states)
Example: ["ca", "wa"]
states - two-letter state codespublic void setStates(List<String> states)
Example: ["ca", "wa"]
states - two-letter state codespublic UserData zipcode(String zipcode)
Example: 94035
zipcode - five-digit zip codepublic String getZipcode()
public void setZipcode(String zipcode)
Example: 94035
zipcode - five-digit zip codepublic UserData zipcodes(List<String> zipcodes)
Example: ["94035", "98101"]
zipcodes - five-digit zip codespublic void setZipcodes(List<String> zipcodes)
Example: ["94035", "98101"]
zipcodes - five-digit zip codespublic UserData countryCode(String countryCode)
Example: us
countryCode - two-letter country codepublic String getCountryCode()
Example: us
public void setCountryCode(String countryCode)
Example: us
countryCode - two-letter country codepublic UserData countryCodes(List<String> countryCodes)
Example: ["us", "ca"]
countryCodes - two-letter country codespublic List<String> getCountryCodes()
Example: ["us", "ca"]
public void setCountryCodes(List<String> countryCodes)
Example: ["us", "ca"]
countryCodes - two-letter country codespublic UserData externalId(String externalId)
externalId - unique ID from the advertiserpublic String getExternalId()
public void setExternalId(String externalId)
externalId - unique ID from the advertiserpublic UserData externalIds(List<String> externalIds)
externalIds - unique IDs from the advertiserpublic List<String> getExternalIds()
public void setExternalIds(List<String> externalIds)
externalIds - unique IDs from the advertiserpublic UserData clientIpAddress(String clientIpAddress)
clientIpAddress - IP address of the browser corresponding to the eventpublic String getClientIpAddress()
public void setClientIpAddress(String clientIpAddress)
clientIpAddress - IP address of the browser corresponding to the eventpublic UserData clientUserAgent(String clientUserAgent)
clientUserAgent - user agent for the browser corresponding to the eventpublic String getClientUserAgent()
public void setClientUserAgent(String clientUserAgent)
clientUserAgent - user agent for the browser corresponding to the eventpublic UserData fbc(String fbc)
fbc - Facebook click IDpublic String getFbc()
public void setFbc(String fbc)
fbc - Facebook click IDpublic UserData fbp(String fbp)
fbp - Facebook browser IDpublic String getFbp()
public void setFbp(String fbp)
fbp - Facebook browser IDpublic UserData subscriptionId(String subscriptionId)
subscriptionId - subscription ID for the user in this transactionpublic String getSubscriptionId()
public void setSubscriptionId(String subscriptionId)
subscriptionId - subscription ID for the user in this transactionpublic UserData fbLoginId(String fbLoginId)
fbLoginId - Facebook Login ID for the user in this eventpublic String getFbLoginId()
public void setFbLoginId(String fbLoginId)
fbLoginId - Facebook Login ID for the user in this eventpublic UserData leadId(String leadId)
leadId - is the ID associated with a lead generated by Facebook's Lead Ads.public String getLeadId()
public void setLeadId(String leadId)
leadId - is the ID associated with a lead generated by Facebook's Lead Ads.public UserData f5first(String f5first)
f5first - is the first 5 letters of the first name.public String getF5first()
public void setF5first(String f5first)
f5first - is the first 5 letters of the first name.public UserData f5last(String f5last)
f5last - is the first 5 letters of the last name.public String getF5last()
public void setF5last(String f5last)
f5last - is the first 5 letters of the last name.public UserData fi(String fi)
fi - is the first initial.public String getFi()
public void setFi(String fi)
fi - is the first initial.public UserData dobd(String dobd)
dobd - is the date of birth day for the event.public String getDobd()
public void setDobd(String dobd)
dobd - is the date of birth day for the event.public UserData dobm(String dobm)
dobm - is the date of birth month for the event.public String getDobm()
public void setDobm(String dobm)
dobm - is the date of birth month for the event.public UserData doby(String doby)
doby - is the date of birth year for the event.public String getDoby()
public void setDoby(String doby)
doby - is the date of birth year for the event.public UserData madid(String madid)
madid - is the mobile advertiser idpublic String getMadid()
public void setMadid(String madid)
madid - is the mobile advertiser idpublic UserData anonId(String anonId)
anonId - the anonymous idpublic String getAnonId()
public void setAnonId(String anonId)
anonId - the anonymous Idpublic UserData ctwaClid(String ctwaClid)
ctwaClid - the anonymous idpublic String getCtwaClid()
public void setCtwaClid(String ctwaClid)
ctwaClid - the anonymous Idpublic UserData pageId(String pageId)
pageId - public String getPageId()
public void setPageId(String pageId)
pageId - Copyright © 2024. All rights reserved.