Delete custom audience
x_ads_delete_audienceSoft-delete a custom audience so line items stop targeting it. Requires explicit user confirmation to complete the deletion.
Instructions
Soft-delete a custom audience. Line items targeting it will stop matching. confirm=true after the user named the audience.
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": {
"account_id": "<account_id>",
"custom_audience_id": "<custom_audience_id>"
},
"name": "x_ads_delete_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 | |
| custom_audience_id | Yes |