Audience Query

This feature is available only with paid Kochava accounts. Contact us to learn more.

Audience Query provides the ability to create audiences for activation or engagement from row-level data. These custom audience and engagement queries can be saved for future use or modification.

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


Audience Query User Interface

  1. Log in to Kochava.
  2. Select the desired Account.
  3. Select Query > Audience Query.

Feature Note: To add this menu item to your Favorites Menu, select the “+” sign that appears when you hover over the menu. The Features Menu provides quick access to your most frequently visited areas of the Kochava UI.


Query Overview

Audience Query provides drop-down menus to select saved audience queries, an area allowing the creation of custom queries, a text box displaying the query code, as well as the options to run and save the custom audience queries. Once an audience query has been run, the first 100 rows of results will be displayed below the tool. Additional results can be viewed by Clicking Load More.

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 theme in the upper right corner of the code box.

The number of days for which data is available is displayed in the upper-right corner. Query retention is determined based on the service level purchased.

A. Saved Audience drop-down menu.
B. Custom Query Tables and Columns Selection options
C. All code within the Query Code box can be edited.
D. Run and Save Audience options.

Meta AMM (Facebook & Instagram) Network Breakdown

Advertisers who have signed Meta’s mobile app measurement data terms can include Facebook and Instagram attribution data directly in Query results, shown as their own distinct networks.

Enabling Meta AMM data in a query

  1. On the Audience Query page, locate the Meta AMM toggle.
  2. Read the performance banner above the toggle — turning it on may increase how long your query takes to run, since it reads from an additional, restricted data table.
  3. Turn the toggle ON to include Facebook and Instagram data in your query results.

NOTE: The Meta AMM toggle defaults to OFF every time the Query page loads, for every user and every session. It must be turned on each time Meta data should be included in a query.

NOTE: This toggle only returns Facebook and Instagram data for rows where Meta has confirmed the advertiser’s mobile data terms were signed at the time of the claim. If no rows are eligible, the query simply returns an empty Facebook/Instagram network breakdown — no error is shown.

Who can use this toggle

  • The Meta AMM toggle is not available to agency users — This is a requirement of Kochava’s data partnership terms with Meta, not an account permission that can be changed.

How Meta data appears in results

When the toggle is on, Facebook and Instagram each appear as their own distinct network in query results — they are not grouped together under “Restricted.”

If Meta data terms are later revoked

If an advertiser’s Meta data terms are revoked, the toggle remains available, but data collected going forward will no longer be eligible for inclusion. Historical data collected while terms were active remains accessible in query results.

Creating a Custom Audience Query

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

  1. Construct query within window.
  2. You can click on Tables to see the associated columns.
  3. You can click on a column and that column name will populate within the query window.
  4. Click Run to execute the current query.
  5. Add an Audience Name (and Description, if desired).
  6. Click Save.

A. Saved Audience drop-down menu.
B. Custom Query Tables and Columns Selection options
C. All code within the Query Code box can be edited and the background changed.
D. Run and Save Audience options.

NOTE: Engagement Audiences must have valid SQL using the Standard SQL dialect, and must contain ONLY a device ID in the select statement (adid, idfa). Engagement Audiences are unique because Kochava takes the query and performs an additional join using the adid/idfa to retrieve the kochava_device_id and the associated Engagement Token, if available. There cannot be comments (“–” or “#”) within the query.

NOTE: Activation Audiences must have valid SQL using the Historical SQL dialect, and either idfa or adid needs to be the final column name for one of the columns selected. The fields you should select for the audience are dependent on the activation partner. Contact your Client Success Management Team for more details.

Updated on September 17, 2026

Was this article helpful?