> ## 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

> Searches Snapchat targeting options (age groups, genders, languages, devices, countries, regions, postal codes, interests, location categories) and returns IDs ready for the ad squad targeting spec

Searches Snapchat targeting options (age groups, genders, languages, devices, countries, regions, postal codes, interests, location categories) and returns IDs ready for the ad squad targeting spec. Run it before snapchat\_ads\_create\_ad\_squad.

|                      |                                 |
| -------------------- | ------------------------------- |
| **App**              | Snapchat Ads                    |
| **Operation ID**     | `snapchat_ads_search_targeting` |
| **Type**             | Action                          |
| **Connection**       | `snapchat_ads` (required)       |
| **Credits per run**  | Free                            |
| **Agent / MCP tool** | Yes                             |

## Inputs

| Field            | Type                       | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ---------------- | -------------------------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`        | DynamicAccount             | Yes      | -       | Select the Snapchat Ads account to search targeting options for.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `targeting_type` | string or SelectableOption | Yes      | -       | Which targeting dimension to search. The returned IDs go directly into the matching ad squad targeting spec key: AGE\_GROUP (demographics\[].age\_groups), GENDER (demographics\[].gender), LANGUAGE (demographics\[].languages), ADVANCED\_DEMOGRAPHICS (demographics\[].advanced\_demographics), CONNECTION\_TYPE, OS\_TYPE, OS\_VERSION, CARRIER, and DEVICE\_MAKE (devices\[] fields), COUNTRY (geos\[].country\_code), REGION (geos\[].region\_id), METRO (geos\[].metro\_id), POSTAL\_CODE (geos\[].postal\_code), INTEREST\_\* (interests\[].category\_id), LOCATION\_CATEGORY (locations\[].categories\_loi). INTEREST\_SLC is Snap Lifestyle Categories; DLXS/DLXC (Datalogix), NLN (Nielsen), PLC (Placed Visitation), and VAC (Snap Visitation) are third-party interest sets. |
| `country_code`   | string                     | No       | -       | Lowercase ISO-2 country code (for example us, uk, de). Required for REGION, METRO, and POSTAL\_CODE.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `os_type`        | string or SelectableOption | No       | -       | Operating system: iOS or ANDROID. Required for OS\_VERSION.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `search_query`   | string                     | No       | -       | Optional text filter. Snapchat returns the full list per targeting type, so Markifact filters it: case-insensitive name substring match, or exact ID match.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `limit`          | integer                    | No       | `100`   | Maximum rows to return, sorted by name. Default 100, max 1000.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |

### SelectableOption

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

## Output

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

Returns matching targeting options with id, name, and targeting\_type.

**Fields**: `id`, `name`, `targeting_type`
