Inputs
Output
Type:List[Dict]
Returns suggested keywords or user IDs with their targeting values.
Fields: dynamic (depend on the inputs)Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns X targeting suggestions seeded from keywords or user IDs: related keywords, or similar accounts whose followers can be targeted
| App | X Ads |
| Operation ID | x_ads_get_targeting_suggestions |
| Type | Action |
| Connection | x_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the X Ads account to request suggestions for. |
suggestion_type | enum (KEYWORD, USER_ID) | No | KEYWORD | What to suggest: KEYWORD (default) for related keywords, or USER_ID for similar accounts to target followers of. |
seeds | string or array of string | Yes | - | Seed values to base suggestions on (list or comma-separated): keywords when suggestion_type is KEYWORD, or X user ids when USER_ID. The two kinds cannot be mixed. |
limit | integer | No | 30 | Maximum number of suggestions to return. Default: 30. |
List[Dict]
Returns suggested keywords or user IDs with their targeting values.
Fields: dynamic (depend on the inputs)