# Hermoso: update_openai_ads_audience_members · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/update_openai_ads_audience_members/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / update_openai_ads_audience_members

# `update_openai_ads_audience_members`

Add, remove or replace ChatGPT Ads audience members destructive

Area: X ADS CUSTOM AUDIENCES + CONVERSION API · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`audienceId` required `string` ChatGPT Ads audience id, from list_openai_ads_audiences

`operation` required `"add" | "remove" | "replace"` add | remove | replace — replace swaps the entire membership

`members` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [get_openai_ads_audience_operation](https://hermoso.ai/docs/reference/ads/get_openai_ads_audience_operation/) Check a ChatGPT Ads audience membership operation
- [get_openai_ads_audience](https://hermoso.ai/docs/reference/ads/get_openai_ads_audience/) Read one ChatGPT Ads custom audience
- [list_openai_ads_audience_operations](https://hermoso.ai/docs/reference/ads/list_openai_ads_audience_operations/) List ChatGPT Ads audience membership operations
- [create_openai_ads_audience](https://hermoso.ai/docs/reference/ads/create_openai_ads_audience/) Create a ChatGPT Ads custom audience
- [cancel_openai_ads_audience_operation](https://hermoso.ai/docs/reference/ads/cancel_openai_ads_audience_operation/) Cancel a ChatGPT Ads audience membership operation
- [list_openai_ads_audiences](https://hermoso.ai/docs/reference/ads/list_openai_ads_audiences/) List ChatGPT Ads custom audiences
- [resume_openai_ads_audience_operation](https://hermoso.ai/docs/reference/ads/resume_openai_ads_audience_operation/) Resume a ChatGPT Ads audience membership operation
- [create_openai_ads_conversion_event](https://hermoso.ai/docs/reference/ads/create_openai_ads_conversion_event/) Define a ChatGPT Ads conversion
- [create_openai_ads_pixel](https://hermoso.ai/docs/reference/ads/create_openai_ads_pixel/) Create a ChatGPT Ads pixel
- [merge_openai_ads_audiences](https://hermoso.ai/docs/reference/ads/merge_openai_ads_audiences/) Merge ChatGPT Ads custom audiences

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
