update_openai_ads_audience_members
Add, remove or replace ChatGPT Ads audience members destructive
Description
Change who is IN a ChatGPT Ads custom audience. Pass plain emails, phone numbers and/or Google Advertising IDs (GAID, UUID-shaped) in ONE list — identifier types may be mixed in a single request: Hermoso normalises and SHA-256 hashes emails and phones locally and only the digests are sent; a GAID rides raw, as the API defines it. SIZE RULES (OpenAI, read 2026-09-03): an audience of ANY size, even empty, can be used for EXCLUSION once ready; for inclusion or bid adjustments plan on 25,000 matched users; there is no 5M ceiling any more, and the reported size is a privacy band (under_25k, 25k_100k, 100k_500k, 500k_1m, 1m_5m, 5m_plus). THREE OPERATIONS: "add" puts people in, "remove" takes the named people OUT (the only way to stop advertising to a segment already in a list), "replace" swaps the WHOLE membership. THIS IS ASYNCHRONOUS — ChatGPT Ads returns an operation id and the change is NOT applied when this returns; poll it with get_openai_ads_audience_operation until it reports succeeded or failed. A replace REQUIRES expectedRevision (read membershipRevision from get_openai_ads_audience) so a wholesale swap cannot land on top of someone else’s change; a mismatch is refused by ChatGPT Ads and applies nothing.
Parameters
| Parameter | Type | Description |
|---|---|---|
audienceIdrequired | string | ChatGPT Ads audience id, from list_openai_ads_audiences |
operationrequired | "add" | "remove" | "replace" | add | remove | replace — replace swaps the entire membership |
membersrequired | string[] | emails and/or phone numbers (already-SHA256-hashed emails pass through as-is) |
expectedRevision | number | string | REQUIRED for replace, optional for add/remove — membershipRevision from get_openai_ads_audience |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_openai_ads_audience_members.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_openai_ads_audience_members","arguments":{"audienceId":"<string>","operation":"<one of the listed values>","members":"<array>"}}}
CLI
hermoso call update_openai_ads_audience_members --json '{"audienceId":"<string>","operation":"<one of the listed values>","members":"<array>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
get_openai_ads_audience_operationCheck a ChatGPT Ads audience membership operationget_openai_ads_audienceRead one ChatGPT Ads custom audiencelist_openai_ads_audience_operationsList ChatGPT Ads audience membership operationscreate_openai_ads_audienceCreate a ChatGPT Ads custom audiencecancel_openai_ads_audience_operationCancel a ChatGPT Ads audience membership operationlist_openai_ads_audiencesList ChatGPT Ads custom audiencesresume_openai_ads_audience_operationResume a ChatGPT Ads audience membership operationcreate_openai_ads_conversion_eventDefine a ChatGPT Ads conversioncreate_openai_ads_pixelCreate a ChatGPT Ads pixelmerge_openai_ads_audiencesMerge ChatGPT Ads custom audiences