meta_ads_targeting_search
Search Meta's interest-targeting catalogue by keyword and resolve interest names to internal IDs for ad set targeting specs. Returns audience size bounds, path, and topic per interest.
Instructions
Searches Meta's interest-targeting catalogue by keyword and resolves interest names to the internal IDs used in an ad set's targeting spec (targeting.flexible_spec / interests). Returns id, name, audience_size_lower_bound, audience_size_upper_bound, path, and topic per interest. Read-only. Use this to look up an interest ID before meta_ads_ad_sets_create / update — agents cannot invent these IDs. For behaviors / demographics (which keyword search does not cover) use meta_ads_targeting_categories instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum interests returned. Default 25, max 100. | |
| query | Yes | Interest keyword to search for (e.g. 'camping', 'yoga'). Must be non-empty. | |
| locale | No | Optional Graph locale (e.g. 'ja_JP') to return localized interest names. Omitted when unset. | |
| account_id | No | Meta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required. |