x ads search targeting interests
x_ads_search_targeting_interestsSearch X Ads interest categories by name to find the targeting_value IDs required for INTEREST criteria in add_targeting_criterion; pagination is preserved.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x_ads_search_targeting_interests"
}
}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. |