chatgpt_ads_audiences_members_add
Uploads a local file of emails, phones, or ad IDs to a ChatGPT Ads custom audience and starts an asynchronous add operation. Poll the operations tool until status is no longer processing.
Instructions
Adds members to one ChatGPT Ads custom audience from a local file. Returns the platform's operation object unchanged (operation_id, status processing / succeeded / failed). The operation is asynchronous: poll chatgpt_ads_audiences_operations_get until it is not processing. Mutates the account. The file holds one identifier per line, all of identifier_type, between 1 and 10,000 distinct values, at most 2 MiB; blank lines and duplicates are dropped. email and phone (E.164 with '+' and country code) are normalised and SHA-256 hashed before sending; gaid is sent as given, as the platform requires. One invalid line refuses the whole call before any request, naming line numbers only. The identifiers never pass through tool arguments. No reversal is recorded: the opposite call would also touch members that were there before. An audience used for inclusion or a bid multiplier needs at least 25,000 matched users; exclusion has no minimum. Custom audiences are not supported for campaigns that target the EEA or Switzerland. Upload only first-party data you have the right to use.
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": {
"audience_id": "<audience_id>",
"file_path": "<file_path>",
"identifier_type": "<identifier_type>"
},
"name": "chatgpt_ads_audiences_members_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session. | |
| approval | No | External approval this change carries out (recorded and shown, never verified) | |
| expected | No | Expected effects [{metric, direction, target?, horizon_days?, primary?}], exactly one primary:true when several; metric cpa/cpc/cpl/cpm/conversions/cvr/ctr/roas/cost/spend/clicks/impressions; direction up/down/hold. | |
| file_path | Yes | Path of a local UTF-8 .txt or .csv file with one identifier per line and no header row (e.g. '/Users/me/audiences/list.txt'). Only the hashed or raw-advertising-id values are sent, never the path. | |
| audience_id | Yes | Custom audience id as the API returns it (e.g. 'caud_123'). Find it with the matching list tool. | |
| decision_id | No | A proposed decision this change carries out. | |
| idempotency_key | No | Optional key for repeating this add or remove: letters, digits, '_' or '-'. Omit it on a first attempt and mureo generates one; pass the key an error message names, with the same arguments and file, to get the first accepted operation back instead of starting a second. | |
| identifier_type | Yes | What every line holds: email, phone, gaid (Google advertising id), or email_sha256 / phone_number_sha256 already hashed by the same rule (64 hex characters). |