poll_audience_operation
Poll a custom audience mutation status by operation ID and audience ID, returning current state so you can schedule retries until the operation succeeds or fails.
Instructions
Helper to poll a custom audience mutation until terminal. Calls get_audience_operation once and returns current state. Call repeatedly with backoff (processing -> succeeded/failed). Does NOT loop internally — agent controls retry timing to respect rate limits.
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": {
"custom_audience_id": "<custom_audience_id>",
"operation_id": "<operation_id>"
},
"name": "poll_audience_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation_id | Yes | Operation ID from add/remove/replace/merge. | |
| ad_account_id | No | ||
| custom_audience_id | Yes | Custom audience ID. |