View Basic report
Copied



https://api.ocamba.com/v1/hood/reports/basic
Copied

https://api.ocamba.com/v1/hood/reports/basic
Predefined report that displays essential information such as Event date, Requests, Impressions, Clicks, Total Clicks, CTR, Revenue and more
Rate limits:
Burst: 10/s
Steady: 150/m
Name
Descriptionsortstring
Sorts the response by specified field(s) with the option to specify sorting order (ascending by default, add prefix "-" for descending).Examples:
GET /VERSION/hood/RESOURCE_NAME?sort=name → sorts per name, ascending
GET /VERSION/hood/RESOURCE_NAME?sort=-id → sorts per id descending
GET /VERSION/hood/RESOURCE_NAME?sort=id,-name → sorts per id ascending, then name descending
See tips for the list of sortable fields.
Example: sort=-field1,field2
pagestring
The page number indicates which set of items will be returned in the response. The format of request is "page=N,M" where 'N' (required) represents page number and 'M' (optional) is number of items per page.Examples:
N=1, M=20 → returns page 1 with 20 items
N=2, M=20 → returns page 2 with 20 items (items 21-40)
N=3 → returns page 3. The number of objects returned depends on the resource settings.
Example: page=1,10
outstring
Data format output - 'csv' (default) or 'json'.Example: out=json
resolutionstring
Data resoulution, supported values 'hour', 'day'.Example: resolution=hour
fieldsstringrequired
Fields is array of dimensions and measures. You can use dimensions to categorize, segment, and reveal the details in your data. Measures contain numeric, quantitative values that you can measure. At least one measure is required.Example: stat_date,container_id,pageviews,new_users,push_allowed,push_blocked
200 - OK
Name
Descriptionasninteger
DimensionAutonomous System Number, derived from the visitor’s IP. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Example: 213725
body_clickinteger
MeasureNumber of clicks on the main notification body when no action buttons are used. Typically occurs if users tap the primary content of the push message.
Example: 10
bounce_ratefloat
MeasurePercentage of sessions in which users view only a single page (i.e., no further interactions within the session). This metric is only tracked if analytics is enabled in the container.
Example: 12.33
browser_idinteger
DimensionUnique identifier assigned by the Ocamba platform for a browser (e.g., 12 = Chrome). This mapping is part of Ocamba and may change over time. See the documentation for current details.
Possible values: 0 | 1 | 3 | 10 | 12 | 13 | 17 | 36 | 54 | 57 | 62 | 69 | 72 | 82 | 83 | 87 | 88
browser_namestring
DimensionName corresponding to the browser_id. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Possible values: Unknown | Internet Explorer | Opera | Firefox | Chrome | Safari | Edge | UC browser | Amazon silk | Samsung internet | Crosswalk | Yandex browser | Android | Pinterest | Facebook | Chrome webview | Safari webview
browser_versioninteger
DimensionMajor version of the browser, extracted from the complete version string major.minor.patch.build (e.g., "133.0.6943.142" → 133).
Example: 133
button1_clickinteger
MeasureNumber of clicks on the first action button of a push notification.
Example: 10
button2_clickinteger
MeasureNumber of clicks on the second action button of a push notification.
Example: 10
button3_clickinteger
MeasureThe total number of clicks on third action button (only for Android and iOS).
Example: 10
city_idinteger
DimensionGeoName city identifier, derived from the visitor’s IP. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Example: 6354908
city_namestring
DimensionCity name mathcing corresponding city_id. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Example: Sydney
conn_typestring
DimensionName corresponding to the conn_type_id. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Possible values: dialup | cable/dsl | corporate | cellular
conn_type_idinteger
DimensionConnection type identifier from the visitor’s IP (e.g., 1 = dialup, 2 = cable/dsl). This mapping is part of Ocamba and may change over time. See the documentation for current details.
Possible values: 1 | 2 | 3 | 4
container_idinteger
DimensionUnique identifier assigned by the HoodEngage app for a container resource. A container is an editable resource that centralizes settings for push notifications, analytics, crash reporting, user consent, and various lead-generation features (e.g., newsletter or SMS pop-ups). These changes are applied upon the next user session or SDK run.
Example: 126598752
container_namestring
DimensionThe name given by the user when creating a container..
Example: BBC Network US
container_typestring
DimensionIndicates the platform or environment for the container resource. Type is not editable.
Possible values:
- web: The container is configured for websites
- android: The container is configured for Android apps
- ios: The container is configured for iOS apps
- unknown: The container environment was not recognized or cannot be determined
Possible values: unknown | web | android | ios
country_codestring
DimensionTwo-letter country code, typically derived from the visitor’s IP address (ISO 3166-1 alpha-2 codes).
Example: US
country_namestring
DimensionOfficial country name derived from country_code.
Example: United States
custom_promptinteger
MeasureNumber of times a custom prompt was shown to the user. Examples include push slide prompt, notification bell.
Example: 10
custom_prompt_button1integer
MeasureNumber of clicks on the primary button in a custom prompt window.
Example: 10
custom_prompt_button2integer
MeasureNumber of clicks on the secondary button in a custom prompt window.
Example: 10
data_center_prefixstring
DimensionPrefix of the nearest Ocamba data center where data was collected.
Possible values: pa | am | ny | sg
device_idinteger
DimensionUnique identifier assigned by the Ocamba platform for a device. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Possible values: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
device_namestring
DimensionName corresponding to the device_id. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Possible values: UNKOWN | DELL | HTC | LG | SAMSUNG | GOOGLE | HUAWEI | MOTOROLA | SONY ERICSSON | LENOVO | NOKIA | XIAOMI | MICROSOFT | BLACKBERRY | APPLE | SONY
dialog_declinedinteger
MeasureNumber of times a user declined a custom window prompt.
Example: 10
errorsinteger
MeasureTotal reported error events from HoodEngage SDK (web or mobile).
Example: 5246
incoming_bandwidthinteger
MeasureTotal inbound bandwidth usage, measured in bytes.
Example: 5623186
ispstring
DimensionInternet Service Provider name, derived from the visitor’s IP. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Example: Octopus Web Solution
new_usersinteger
MeasureTotal count of*uniqu new users, i.e., first-time visitors. This metric is only tracked if analytics is enabled in the container.
Example: 3256
os_idinteger
DimensionUnique identifier assigned by the Ocamba platform for an operating system. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Possible values: 0 | 1 | 4 | 10 | 12 | 14 | 17 | 18 | 26 | 40 | 1000
os_namestring
DimensionName corresponding to the os_id. This mapping is part of Ocamba and may change over time. See the documentation for current details.
Possible values: Unknown | Windows OS | Mac OS X | Linux | iOS | Blackberry | Android | Windows Phone | Tizen | Chrome | Ubuntu Fedora | Any
os_versioninteger
DimensionMajor version of the operating system, extracted from the full OS version string. For example, “Windows 11.0.12345” → 11 or “macOS Sequoia 15.3.1” → 15.
Example: 10
outgoing_bandwidthinteger
MeasureTotal outbound bandwidth usage, measured in bytes.
Example: 5246872
page_depthfloat
MeasureAverage pageviews per session, calculated as (pageviews / sessions). This metric is only tracked if analytics is enabled in the container. A higher page depth indicates that users tend to view multiple pages within a single session.
Example: 3.25
page_domainstring
DimensionDomain of the viewed page.
Example: test.com
page_ref_domainstring
DimensionDomain of the referrer page.
Example: demo.com
page_ref_urlstring
DimensionFull URL of the page's referer.
Example: https:/demo.com/politics
page_urlstring
DimensionFull URL of the viewed page.
Example: https://test.com/sport
pageviewsinteger
MeasureThe total number of page views.
Example: 123456
partner_idinteger
DimensionUnique identifier assigned by the HoodEngage app for a partner. A partner can be an advertiser, publisher, or both, and typically represents a business, brand, or organization within the HoodEngage ecosystem. Partners can have multiple managers, each with their own account and permissions, and may oversee multiple containers or applications.
Example: 968742523
partner_namestring
DimensionThe user-defined name for a HoodEngage partner entity. A partner can be an advertiser, publisher, or both, and typically represents a business, brand, or organization within the HoodEngage ecosystem. Partners can have multiple managers, each with their own account and permissions, and may oversee multiple containers or applications.
Example: Ikea Sweden
push_allowedinteger
MeasureNumber of times a user accepted the native push notification prompt.
Example: 574125
push_allowed_ctrfloat
MeasureRatio of push allowed to push prompt events (push_allowed / push_prompt).
Example: 15.31
push_allowed_thru_pctfloat
MeasurePercentage of push allowed out of push_ rompt (push_allowed_ctr × 100).
Example: 10.36
push_blockedinteger
MeasureNumber of times a user declined or blocked the native push notification prompt.
Example: 32485
push_click_thru_pctfloat
MeasurePercentage of push notification clicks out of all push_wokenups (push_ctr × 100).
Example: 17.11
push_clicksinteger
MeasureTotal clicks on push notifications, including body and action buttons.
Example: 3214
push_ctrfloat
MeasureRatio of push notification clicks to push wokenups (push_clicks / push_wokenups).
Example: 12.54
push_promptinteger
MeasureNumber of times the native push notification prompt was displayed to the user.
Example: 59743
push_subscriptionsinteger
MeasureTotal number of successful new push subscriptions. Unlike push_allowed, this only increments once per unique subscription.
Example: 23254
push_unsubscriptionsinteger
MeasureTotal number of push unsubscriptions, either user-driven or via platform/API.
Example: 3214
push_user_growthinteger
MeasureGrowth scale of the user base that represents a ratio between push subscribed and unsubscribed users. A ratio can be negative since there is a possibility that there are more unsubscribed users than subscribed in a particular time range.
Example: 2435
push_wokenupsinteger
MeasureNumber of times the HoodEngage SDK (web or mobile) was activated, indicating a push-capable session was initiated.
Example: 23254
sdk_versionstring
DimensionVersion of the HoodEngage SDK reporting the data, typically in major.minor.patch format (e.g., "2.0.8"). This property is determined directly by the SDK itself—whether it is the Web-based or Mobile version—and can help pinpoint which specific release is in use for troubleshooting or feature compatibility.
Example: 2.0.8
server_traffic_idstring
DimensionUnique identifier for the server traffic type, derived from the visitor’s IP. This classification typically flags well-known non-residential IP ranges often tied to bots, scrapers, proxies, or data centers. This mapping is part of Ocamba and may change over time.
Possible values: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
server_traffic_namestring
DimensionDescriptive name for server traffic type, matching server_traffic_id. This classification typically flags well-known non-residential IP ranges often tied to bots, scrapers, proxies, or data centers. This mapping is part of Ocamba and may change over time.
Possible values: None | Data center | VPN | Bot | Fake crawler | CGI proxy | Web proxy | TOR | Web scraper
sessionsinteger
MeasureTotal number of sessions. A session begins when a user first visits and ends after 30 minutes of inactivity. If the user returns more than 30 minutes after their last interaction, it is counted as a new session.
Example: 325
sessions_per_userfloat
MeasureAverage sessions per user, calculated as (sessions / users). This metric is only tracked if analytics is enabled in the container. It helps gauge how frequently a typical user initiates a new session and can indicate overall user engagement or repeat visits.
Example: 3.25
stat_datedateTime
DimensionThe date/time for the event.
Resolution may be at the day or hour level:
- Day-level: "2025-03-04T00:00:00Z"
- Hour-level: "2025-03-04T07:00:00Z"
Example: 2025-03-04T07:00:00Z
timezonestring
DimensionIANA time zone identifier. For more information visit official site https://www.iana.org.
Example: Europe/Belgrade
traffic_source_type_idinteger
DimensionUnique identifier assigned by the Ocamba platform for a traffic source (e.g., 1 = direct, 2 = internal). This mapping is part of Ocamba and may change over time. See the documentation for current details.
Possible values: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
traffic_source_type_namestring
DimensionThe traffic sources that are driving visitor to your website.
Possible values:
- direct: The user typed in the URL or used a bookmark (no referrer data).
- internal: The user navigated from another page on the same domain.
- link: The user clicked a link from an external domain that is neither social nor a search engine.
- social network: The user arrived via a recognized social network.
- search engine: The user arrived from a recognized search engine.
- paid: The user came from a known paid advertising source.
- unknown or undefined: Insufficient data to classify the traffic.
- other: A valid source that does not fit any of the standard categories above.
The unique identifier representing traffic source that is driving visitor to your website. See the documentation for current details.
Possible values: unknown | direct | internal | link | social network | search engine | paid | undefined | other
user_langstring
DimensionTwo-letter language code for the user (ISO 639-1 alpha-2 codes).
Example: en,de,es
usersinteger
MeasureTotal count of unique users. This metric is only tracked if analytics is enabled in the container.
Example: 201
utm_campaignstring
DimensionUrchin Tracking Module campaign, used to identify a strategic campaign.
Example: push_campaign
utm_contentstring
DimensionUrchin Tracking Module content, used to differentiate ads or links that point to the same URL.
Example: logolink
utm_mediumstring
DimensionUrchin Tracking Module medium, used to identify a medium.
Example: organic
utm_sourcestring
DimensionUrchin Tracking Module source, used to identify a search engine, social media, newsletter name or other source.
Example: google
utm_termstring
DimensionUrchin Tracking Module term, used to note the keywords for the ad.
Example: testing+term
views_per_userfloat
MeasureAverage pageviews per user, calculated as (pageviews / users). This is only tracked if analytics is enabled in the container. A higher ratio can indicate deeper user engagement with the site.
Example: 2.33
1 Sortable fields are: stat_date, account_id, account_name, partner_id, partner_name, country_code, country_name, os_name, browser_name, device_name, user_lang, tag_name, container_name, isp, conn_type, city_name, sdk_version, data_center_prefix, app_type, tag_type, container_type, timezone, page_domain, page_ref_domain, utm_medium, utm_campaign, utm_term, utm_source, traffic_source_type_name, pageviews, new_users, push_allowed, push_blocked, errors, sessions, users, views_per_user, sessions_per_user, bounce_rate, push_user_growth, push_wokenups, push_clicks, push_subscriptions, push_unsubscriptions, push_allowed_ctr, push_allowed_thru_pct, body_click, button1_click, button2_click, button3_click, dialog_declined, custom_prompt, custom_prompt_button1 and custom_prompt_button2.
2 Filterable fields are: stat_date, browser_id, browser_name, os_id, os_name, country_code, country_name, device_id, device_name, asn, isp, city_id, city_name, user_lang, account_id, account_name, partner_id, partner_name, timezone, data_center_prefix, sdk_version, tag_id, tag_name, container_id, container_name, page_url, page_ref_url, page_domain, page_ref_domain, os_version, browser_version, utm_medium, utm_campaign, utm_term, utm_content, utm_source, traffic_source_type_id, traffic_source_type_name, server_traffic_id, server_traffic_name, region, region_name, app_type, tag_type, container_type, conn_type, push_allowed, push_blocked, pageviews, new_users, errors, incoming_bandwidth, outgoing_bandwidth, sessions, users, push_prompt, page_depth, views_per_user, sessions_per_user, bounce_rate, push_wokenups, push_clicks, push_ctr, push_clicks, push_subscriptions, push_unsubscriptions, push_allowed_ctr, push_allowed_thru_pct, body_click, button1_click, button2_click, button3_click, dialog_declined custom_prompt, custom_prompt_button1 and custom_prompt_button2.
3 API provided filling empty entry points in between first and last date/hour. You should set with_fill parameter to true, but just in case the date dimension is requested only. It is in relation with resolution. You should pass day or hour, which defines what type of breakdown you request, default setup displays daily breakdown.
4 To get data by the time in your local time zone, you should set tz query parameter to the specific time zone. See the list of valid time zones here -> https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List.
5 For easier search, Reports API gives you the possibility of using one of the following labels: today, yesterday, last-7-days, last-30-days, last-24-hours, this-month, last-month, current-hour, last-hour, last-48-hours, last-2-days, month-to-date, month-to-yesterday, quarter-to-date.
1 When filtering stat_date, use one of the following formats:
- Single format: YYYY-mm-dd;
Displaying stats for this specific day
- Range format: rf:YYYY-mm-dd,YYYY-mm-dd;
Requires usage of the range operators:
- r - range - The value must be in a specified open range, where both endpoints are excluded.
- rf - range full - The value must be in a specified closed range, where both endpoints are included.
- rl - range left - The value must be in a specified half-open range, where only left or start point is included.
- rr - range right - The value must be in a specified half-open range, where only right or end point is included.
Displaying stats in this specific range.
- Hour range format: rl: YYYY-mm-dd hh:00:00,YYYY-mm-dd hh:00:00
If you exclude this parameter, the default setup displays "today" stats.
- Single format: YYYY-mm-dd;
Displaying stats for this specific day
- Range format: rf:YYYY-mm-dd,YYYY-mm-dd;
Requires usage of the range operators:
- r - range - The value must be in a specified open range, where both endpoints are excluded.
- rf - range full - The value must be in a specified closed range, where both endpoints are included.
- rl - range left - The value must be in a specified half-open range, where only left or start point is included.
- rr - range right - The value must be in a specified half-open range, where only right or end point is included.
Displaying stats in this specific range.
- Hour range format: rl: YYYY-mm-dd hh:00:00,YYYY-mm-dd hh:00:00
If you exclude this parameter, the default setup displays "today" stats.