add_audience_members
Add new identifiers—email, phone, hashed or GAID—to an existing custom audience. Use inline data or upload a file for bulk updates.
Instructions
Add identifiers to an existing custom audience (file or inline). Requires Idempotency-Key and expected_revision. Poll operation via get_audience_operation. Supports up to ~10k inline identifiers; use file for larger.
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>",
"idempotency_key": "<idempotency_key>",
"expected_revision": "<expected_revision>"
},
"name": "add_audience_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | No | File ID from upload_audience_file. | |
| identifiers | No | Inline identifiers (alternative to file_id). | |
| ad_account_id | No | ||
| idempotency_key | Yes | Required idempotency key 1–255 chars. Save to resume on 503/409. | |
| identifier_type | No | ||
| expected_revision | Yes | Current membership_revision from get_custom_audience. | |
| custom_audience_id | Yes | Custom audience ID. | |
| identifier_resolution | No |