View User


                https://api.ocamba.com/v1/hood/users/{id}
            

Retrieves the details of a User if a valid identifier was provided


Name
Description
idstringrequired
Unique resource identifier.


Example: 12345

Name
Description
fieldsstring
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
Arrow
Name
Description
items[ user ]
An array of all created items.
User
Name
Description
ad_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 user


Example: 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 standard


Example: +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 here

retargetingobject
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 here


Example: 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
200 Arrow
{
  "total": 1,
  "items": [
    {
      "client_id": "1094",
      "company_id": "1000000",
      "first_session_date": "2022-01-13",
      "last_session_time": "2022-01-13 16:33:17",
      "tag_id": "1000",
      "tag_name": "Demo Tag",
      "tag_type": "web",
      "app_name": "delsystems.net",
      "country_code": "RS",
      "region": "5855797",
      "region_name": "Hawaii",
      "city": "2657896",
      "city_name": "New York",
      "asn": "2510",
      "isp": "Fujitsu",
      "conn_type": "2",
      "conn_type_name": "cellular",
      "os_id": "4",
      "os_name": "iOS",
      "os_version": "10",
      "browser_id": 12,
      "browser_name": "Chrome",
      "browser_version": "74",
      "device_id": 13,
      "device_name": "Blackberry",
      "user_lang": "en",
      "timezone": "Europe/Istanbul",
      "total_sessions": "10",
      "total_pageviews": "163",
      "total_goals": "163",
      "comment": "This is Ocamba User",
      "traffic_source_type": "link",
      "utm_source": "google",
      "utm_medium": "organic",
      "utm_campaign": "push_campaign",
      "utm_content": "logolink",
      "utm_term": "testing+term",
      "push_subscription_time": "2022-03-22 10:17:33",
      "push_unsubscription_time": "2022-02-17 23:11:00",
      "push_last_touched": "2022-03-20 20:45:11",
      "push_last_clicked": "2022-03-20 20:45:11",
      "ad_last_served": "2022-03-20 20:45:11",
      "ad_last_clicked": "2022-03-20 20:45:11",
      "ad_last_impression": "2022-03-20 20:45:11",
      "last_clicked": "2022-03-20 20:45:11",
      "push_credentials": "{\n  \"endpoint\":\"https://fcm.googleapis.com/fcm/send/example\"\n}",
      "push_status": "1",
      "push_status_str": "subscribed",
      "push_wokenup": "122",
      "push_clicks": "122",
      "retargeting": "{\n  \"retargeting\":\"test\",\n  \"test\":\"value\"\n}",
      "ad_served": "89",
      "ad_impressions": "1063",
      "ad_spam_impressions": "0",
      "ad_clicks": "10",
      "ad_spam_clicks": "0",
      "ad_conversions": "14",
      "ad_income": "2374.67",
      "cost": "0.33",
      "extra": "{\n  \"clicker\":\"1\"\n}",
      "mobile_phone_number": "+1441234567",
      "sms_subscription_time": "2022-03-22 10:17:33",
      "sms_status": "1",
      "email": "[email protected]",
      "email_subscription_time": "2022-03-22 10:17:33",
      "email_status": "1",
      "conversion_score": "15"
    }
  ]
}