Get audience estimate
get_audience_estimateEstimate reachable audience size for a Meta ad targeting spec before campaign creation, helping validate geo, age, gender, interest, and exclusion settings.
Instructions
Estimates the reachable audience size for a given targeting spec (geo, age, gender, interests, custom/lookalike audiences, exclusions, ...) in an ad account, before creating a campaign.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"targeting": "<targeting>"
},
"name": "get_audience_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | No | Client identifier from accounts.config.json. Resolves the ad account and token automatically. Omit to use account_id + the default META_ACCESS_TOKEN instead. | |
| targeting | Yes | Meta targeting spec object, e.g. { "geo_locations": { "countries": ["FR"] }, "age_min": 25, "age_max": 45, "genders": [1] } | |
| account_id | No | Ad account id, e.g. "act_1234567890". Required if client_id is omitted or its config entry has no ad_account_id. | |
| optimization_goal | No | Delivery optimization goal, e.g. "REACH", "LINK_CLICKS", "CONVERSIONS" (default "REACH"). |