Query provides unprecedented access and power allowing users to drill-down into data in meaningful ways. Pre-designed queries are provided, as well as the ability to create custom queries accessing all of the row-level data.


NOTE: Query does not allow the creation or manipulation of SQL tables or data.

Query Interface

  1. Log in to Kochava.
  2. Select the desired app.
  3. Select App Tools>Query.



Query Overview

Query provides drop-down menus to select pre-designed or saved queries, a drop-down menu for selecting recently run queries, an area allowing the creation of custom queries, a text box displaying the query code, as well as the options to save custom queries and email the query results.


NOTE: The query code box can be shown with either a light or a dark background. Adjusting the background can be accomplished by clicking on the current background choice in the upper right corner of the code box.


Once run, the query results will be displayed in a table format at the bottom of the page.


NOTE: Once a query is performed, up to 100 lines of results will be initially displayed. Users may add more data 100 lines at a time. Within each query, an initial limit has been set for the number of lines of data that will be pulled. If a larger amount of data is needed, update the limit field within the query. To receive all data associated with the query, the limit field may be removed, however, removing this field may increase the amount of time the query takes to complete its designated action.


A reminder of the number of days left with access to the Query is displayed in the upper right corner. Accessibility is determined based on the service level purchased.


NOTE: 32 Days is displayed because a single month of service was purchased. For a single month, 32 days of access is provided to account for the number of days in the longest month (31 plus 1 day) to allow for processing a full month of data if desired. For continued access to the Query, contact your account manager for more details.



A. Query Drop-Down Menu
B. Custom Query App and Field Selection options
C. All code within the Query Code box can be edited and the background changed
D. Custom Queries can be saved
E. Query data can be emailed to one or multiple addresses

Selecting a Saved Query

Kochava Queries:

Kochava Queries are pre-designed queries that have been created to provide useful insights into an account’s data.

  • Attributed Installs/Clicks – Row-level installs matching to clicks.
  • Attributed Installs/Impressions – Row-level installs matching to impressions.
  • Click Counts/Identifier – A count of clicks per device identifier.
  • Click Detail for Identifier – Detailed click information for a given device ID.
  • Click IP Comparison – Compares the IP address used to process a click with the IP address provided in the querystring and header IP.
  • Click Stats – Summary of general statistics for clicks.
  • Clicks per Conversion – Summary of the clicks per conversion averaged by network.
  • Cohort Retention – User Activity – Summary of user count and sessions by date.
  • Disabled Click Influencers – Summary of attribution misses on influencers where the waterfall level was disabled.
  • Fast-follow Click Influencers – Summary of average time between the winning click and first-influencers grouped by network, site, and creative.
  • Fingerprint Losses – Row-level installs that were classified as organic due to fingerprint disablement.
  • Impression Stats – Summary of impression statistics.
  • Install detail for identifier – Row-level installs for device ID with attribution data.
  • Last-Click-Loss Influencers – Summary of clicks that did not win attribution due to a non-disabled waterfall level; grouped by network, site, and device_version.
  • MTTI by Geo – Mean Time to Install by geographical city.
  • Recent Installs – Row-level install attribution information for recent installs.
  • Revenue Devices/Network – Devices ranked by revenue/network for the last 24 hours.
  • Touch-points per Conversion – Summary of influencer count by network.
  • Traffic Counts/Hour – Summary of traffic counts ranked by day/hour for the last 24 hours.


NOTE: Ad stacking is a fraudulent revenue scheme accomplished by placing multiple ads one on top of the other with only the top ad viewable. As a result, when the top ad is clicked, the click is processed through all of the ads beneath serving many ads with the single click. Another fraudulent method sometimes observed is the placing of multiple ads immediately next to each other, with no content between. When clicked, all ads receive credit for the single click.



A. Selecting a Kochava Query will insert the associated code into the code box.


Saved Queries:

  • User Queries – Queries saved by the user currently logged in.
  • App Queries – Queries saved in association with the currently selected app, and not saved by the currently logged in user.
  • Account Queries – Queries saved in association with the currently logged in account, not associated with the currently selected app, or user currently logged in.



A. Saved Queries will be organized under User, App or Account depending on desired access.


Recent Queries:

Accessing the recent queries will display the last queries that have been run by a user. The recent queries are organized by:

  • User Queries – Queries that have been recently run by the current user.
  • App Queries – Queries that have been recently run on the current app not by the current user.
  • Account Queries – Queries that have been recently run not on the current app and not by the current user.



A. Accessing the drop-down will display the recently run queries

Creating a Custom Query

Custom Queries can be created from any of the apps that are associated with the current account and any of the tables of data that have been collected.


NOTE: Queries should be formatted in accordance with the SQL 2011 Standard. For more information on structuring a SQL Query, refer to MySQL reference material.


  1. Select an app by clicking on it to enter the app ID into the query code.
  2. Click on Tables to access associated columns.
  3. Click on Table Column to enter column call into the query.
  4. Click Run Query.



A. Currently selected app and table
B. Tables of data available for Custom Queries
C. Columns within the selected table available for Custom Queries


NOTE: Custom Queries can be deleted by selecting the query and Clicking Delete. Use caution – once a custom query has been deleted, it cannot be recovered.


Last Modified: Oct 9, 2017 at 1:01 pm