Get Custom Audience Ads
adsap_get_custom_audience_adsList the ads that use/target a given custom audience (live from Meta) — each with its ad set and campaign id. Use BEFORE deleting an audience (deleting auto-pauses the ad sets that use it — an empty list means it's safe), or to answer 'where is this audience used?'. Group results by adset_id for the ad-set view. Get the custom_audience_id from adsap_list_custom_audiences.
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": {
"ad_account_id": "<ad_account_id>",
"custom_audience_id": "<custom_audience_id>"
},
"name": "adsap_get_custom_audience_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor from a previous response's meta.paging_after, to fetch the next page. | |
| limit | No | Max ads to return per page. Default 25, max 100. | |
| ad_account_id | Yes | Ad account ID (act_xxx) the audience belongs to. Required — scopes the request and anchors the Meta budget check. | |
| custom_audience_id | Yes | Custom audience ID (numeric). Get it from adsap_list_custom_audiences. |