search_targeting
Find valid Meta ad targeting IDs by keyword for interests, behaviors, and demographics, so you can use them in ad set targeting specs.
Instructions
Search for targeting options (interests, behaviors, demographics, etc.) by keyword. Use this to find valid targeting IDs for ad set targeting specs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query (e.g. 'fitness', 'technology', 'cooking') | |
| type | No | Targeting type filter: adinterest, adgeolocation, adeducationschool, adeducationmajor, adworkemployer, adworkposition, adlocale, etc. | |
| limit | No | Number of results (default 25) | |
| account_id | No | Ad account ID to query (e.g. 'act_123' or '123'). Falls back to META_AD_ACCOUNT_ID env var if omitted. |