# `smallforce ads targeting search`

Search valid Meta geographic, interest, behavior, or income targets

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.7. Run `smallforce ads targeting search --help` locally to view the same reference for your installed version.

## Complete command help

```text
Usage: smallforce ads targeting search [options] <query>

Search valid Meta geographic, interest, behavior, or income targets

Arguments:
  query                    Audience or location search text

Options:
  --account <adAccountId>  Local id from ads accounts list
  --dimension <dimension>  geo, interest, behavior, or income (default: "interest")
  --geo-type <type>        country, region, city, zip, metro, place, or neighborhood
  --country <code>         Two-letter country code for geo searches
  --limit <n>              Results to return, 1 to 100
  --api-key <key>          SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>      SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json                   Print stable machine-readable JSON
  --text                   Print human-readable text
  --format <format>        Output format: text or json
  -h, --help               display help for command
```

## Related reference

- [`smallforce ads targeting`](/docs/cli/commands/ads/targeting): Parent command and related operations.
- [CLI installation and authentication](/docs/cli/getting-started): Install the CLI and configure an API key.
- [CLI JSON output](/docs/cli/json-output): Use stable machine-readable output in scripts and agents.
