> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Targeting

> Search for Meta Ads targeting options: geo locations (countries, cities, regions, zips), locales (languages), interests, education (schools, majors), and work (employers, job titles)

Search for Meta Ads targeting options: geo locations (countries, cities, regions, zips), locales (languages), interests, education (schools, majors), and work (employers, job titles). Returns targeting keys that can be used in ad set targeting.

|                      |                             |
| -------------------- | --------------------------- |
| **App**              | Meta Ads                    |
| **Operation ID**     | `meta_ads_search_targeting` |
| **Type**             | Action                      |
| **Connection**       | `meta_ads` (required)       |
| **Credits per run**  | Free                        |
| **Agent / MCP tool** | Yes                         |

## Inputs

| Field            | Type                                | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                  |
| ---------------- | ----------------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `account`        | DynamicAccount                      | Yes      | -       | Select Meta Ads account, ask the user for it if not provided                                                                                                                                                                                                                                                                                                                                                 |
| `search_type`    | string or SelectableOption          | Yes      | -       | The type of targeting to search for. Options: adgeolocation (countries, cities, regions, zips, etc.), adlocale (languages), adinterest (interests for audience targeting), adbehavior (browse all available behaviors), adeducationschool (schools/universities), adeducationmajor (fields of study), adworkemployer (companies), adworkposition (job titles), adincome (browse all available income ranges) |
| `search_query`   | string                              | No       | -       | Search term — e.g. a city name, language, interest, school name, job title, etc. Required for most types. Optional for Behaviors and Income (these browse all available options).                                                                                                                                                                                                                            |
| `location_types` | array of string or SelectableOption | No       | -       | Only used when search\_type is 'adgeolocation'. Filter results to specific location types: country, country\_group, region, city, zip, geo\_market, electoral\_district. Leave empty to search all location types.                                                                                                                                                                                           |
| `limit`          | integer                             | No       | `25`    | Maximum number of results to return (1-1000). Default: 25                                                                                                                                                                                                                                                                                                                                                    |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `List[Dict]`

Returns list of targeting options with keys, names, types and metadata.

**Fields**: `key`, `name`, `type`
