View User
Copied
https://api.ocamba.com/v1/hood/users/{id}
Copied
https://api.ocamba.com/v1/hood/users/{id}
Retrieves the details of a User if a valid identifier was provided
Name
Descriptionidstringrequired
Unique resource identifier.Example: 12345
Name
Descriptionfieldsstring
Fields parameter represents array of dimensions and measures. Dimensions are used to categorize, segment, and reveal the details of the data. Measures contain numeric, quantitative values that can be measured. At least one measure is required.Example: fields=field1,field2,field3
200 - OK
Name
Descriptionitems[ user ]
An array of all created items.User
Name
Descriptionad_clicksstring
Number of times user has clicked.Example: 10
ad_conversionsstring
Number of times user has made a conversion.Example: 14
ad_impressionsstring
Number of times user has viewed an ad.Example: 1063
ad_incomestring
The gain derived from any dimension you requested.Example: 2374.67
ad_last_clickeddateTime
Timezone: GMT.Example: 2022-03-20 20:45:11
ad_last_impressiondateTime
Timezone: GMT.Example: 2022-03-20 20:45:11
ad_last_serveddateTime
Timezone: GMT.Example: 2022-03-20 20:45:11
ad_servedstring
Number of times user has received an ad.Example: 89
ad_spam_clicksstring
Number of times user has made a spam click.Example: 0
ad_spam_impressionsstring
Number of times user views an spam impression.Example: 0
app_namestring
The name of the application.Example: delsystems.net
asnstring
The Autonomous System Number unique identifier.Example: 2510
browser_idinteger
A unique browser identifier.Example: 12
browser_namestring
The browser name.Example: Chrome
browser_versionstring
The browser version.Example: 74
citystring
A unique city identifier.Example: 2657896
city_namestring
The city name.Example: New York
client_idstring
A unique identifier generated by the Ocamba platform.Example: 1094
commentstring
Comment added to userExample: This is Ocamba User
company_idstring
The ID of the Company, generated by the Ocamba.Example: 1000000
conn_typestring
A unique connection type identifier.Example: 2
conn_type_namestring
The connection type name.Example: cellular
conversion_scorestring
A metric indicating the effectiveness of campaigns in driving desired user actions. Higher scores reflect better conversion performance and are based on tracked events and user behavior.Example: 15
coststring
The cost incurred in the performance of the requested dimension.Example: 0.33
country_codestring
The two letter country code.Example: RS
device_idinteger
A unique device identifier.Example: 13
device_namestring
The device name.Example: Blackberry
emailstring
Email of user.Example: [email protected]
email_statusstring
User email status, 1 (has email set) or 0 (hasn't email set).Example: 1
email_subscription_timedateTime
Timezone: GMT.Example: 2022-03-22 10:17:33
extraobject
Extra object.Example: { "clicker":"1" }
first_session_datedate
Timezone: GMT.Example: 2022-01-13
ispstring
The Internet Service Provider.Example: Fujitsu
last_clickeddateTime
Timezone: GMT.Example: 2022-03-20 20:45:11
last_session_timedateTime
Timezone: GMT.Example: 2022-01-13 16:33:17
mobile_phone_numberstring
Mobile phone number in E.164 standardExample: +1441234567
os_idstring
A unique operating system identifier.Example: 4
os_namestring
The operating system name.Example: iOS
os_versionstring
The operating system version.Example: 10
push_clicksstring
Number of times user clicked on push notification.Example: 122
push_credentialsobject
Credential object.Example: { "endpoint":"https://fcm.googleapis.com/fcm/send/example" }
push_last_clickeddateTime
Timezone: GMT.Example: 2022-03-20 20:45:11
push_last_toucheddateTime
Timezone: GMT.Example: 2022-03-20 20:45:11
push_statusstring
User status, user can be 0 (inactive), 1 (subscribed) or 2 (unsubscribed).Example: 1
push_status_strstring
User status, user can be inactive, subscribed or unsubscribed.Example: subscribed
push_subscription_timedateTime
Timezone: GMT.Example: 2022-03-22 10:17:33
push_unsubscription_timedateTime
Timezone: GMT.Example: 2022-02-17 23:11:00
push_wokenupstring
Number of times user has received a notification.Example: 122
regionstring
A unique region identifier.Example: 5855797
region_namestring
The region name.Example: Hawaii
remote_user_idstring
Type hereretargetingobject
Retargeting object.Example: { "retargeting":"test", "test":"value" }
sms_statusstring
User sms status, 1 (has mobile phone number) or 0 (hasn't mobile_phone_number).Example: 1
sms_subscription_timedateTime
Timezone: GMT.Example: 2022-03-22 10:17:33
tag_idstring
The ID of the tag, generated by the Ocamba.Example: 1000
tag_namestring
The name of the tag, provided by the client.Example: Demo Tag
tag_typestring
The type of the tag. Currently only web applications are supported.Example: web
Possible values: web
timezonestring
The user timezone.Example: Europe/Istanbul
total_goalsstring
Type hereExample: 163
total_pageviewsstring
Number of pageviews that user has made.Example: 163
total_sessionsstring
Number of sessions that user has made.Example: 10
traffic_source_typestring
Traffic sources that are driving visitors to your website.Example: link
Possible values: direct | internal | link | social network | search engine | paid | unknown | none
user_langstring
The two letter language code.Example: en
utm_campaignstring
Urchin Tracking Module campaign, used to identify a strategic campaign.Example: push_campaign
utm_contentstring
Urchin Tracking Module content, used to differentiate ads or links that point to the same URL.Example: logolink
utm_mediumstring
Urchin Tracking Module medium, used to identify a medium.Example: organic
utm_sourcestring
Urchin Tracking Module source, used to identify a search engine, social media, newsletter name or other source.Example: google
utm_termstring
Urchin Tracking Module term, used to note the keywords for the ad.Example: testing+term
totalinteger
A total number of items.Example: 1