x ads search targeting interests
x_ads_search_targeting_interestsSearch interest categories by name to retrieve targeting_value IDs for INTEREST-type ad targeting criteria.
Instructions
Search targetable interest categories by name. Use this to find the targeting_value IDs required by add_targeting_criterion for INTEREST-type criteria. Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text interest name to search for, e.g. "motorsports". Omit to list interests unfiltered. | |
| count | No | Number of records to return per page (1-1000). | |
| cursor | No | Pagination cursor from a previous response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |