What an audience is into
sensortower_audience_affinityRank an audience segment's affinity for personas, ad channels, advertisers, app categories, or apps over a date range by selecting the target dimension.
Instructions
Affinity of one audience segment for personas, social ad channels, ad categories, advertisers (brands), app categories or other apps. Pick the dimension and this maps it to a valid metric/breakdown pair. MOST OF THESE ARE LICENSED SEPARATELY: a 401 saying 'not authorized for the user' means your subscription does not cover that metric, not that the key is bad -- do not retry, pick another dimension. Note also that breakdown validation runs BEFORE the authorization check, so a 422 tells you nothing about entitlement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Keep at most this many rows. | |
| fields | No | Comma-separated allowlist of output fields. Strongly recommended: SensorTower rows are wide. | |
| format | No | Output encoding. csv is markedly cheaper in tokens for wide, flat results. | |
| metric | No | Override the metric this dimension defaults to. Check sensortower_reference for legal pairings. | |
| offset | No | ||
| country | No | ISO country code, e.g. US. | US |
| dry_run | No | Print the URL that would be called (token redacted) and charge 0 requests. | |
| end_date | Yes | End of the window, YYYY-MM-DD (inclusive). | |
| dimension | Yes | What to rank the audience's affinity for. | |
| over_time | No | Break down by date as well (persona, channel and app only). | |
| segment_id | Yes | app -> 24-hex unified_app_id (from sensortower_app_metadata); app_category -> an iOS category id such as 6005; demographic -> {gender}_{age_start}_{age_end} such as male_18_45, where age_end is EXCLUSIVE and 55 is the largest legal value. See sensortower_reference for the rest. | |
| start_date | Yes | Start of the window, YYYY-MM-DD (inclusive). | |
| segment_type | No | What kind of audience. Must agree with segment_id. | app |