create_openai_ads_audience
Create a ChatGPT Ads custom audience
Description
Create a ChatGPT Ads custom audience from a customer list. Pass plain emails and/or phone numbers: Hermoso NORMALISES AND SHA-256 HASHES THEM LOCALLY and uploads only the digests, so no plaintext personal data leaves Hermoso. OR pass fileUrl: a public link to a UTF-8 .csv or .txt customer list (a CSV needs a header naming its column: email, phone_number, email_sha256, phone_number_sha256 or gaid; identifierResolution "auto" reads several columns at once). A file is uploaded to ChatGPT Ads as it is and OpenAI hashes raw emails and phones itself; the members list is hashed here first. Matching is asynchronous, so read the audience back for its matched count. Values that are neither an email nor a phone number are skipped and counted, never silently dropped. An audience is a definition and cannot spend.
Parameters
| Parameter | Type | Description |
|---|---|---|
namerequired | string | audience name |
members | string[] | emails and/or phone numbers (already-SHA256-hashed emails are passed through as-is); or use fileUrl |
fileUrl | string | public link to a UTF-8 .csv or .txt customer list; upload_file turns a local file into one |
fileName | string | the file name with .csv or .txt, when the link hides it |
identifierType | "email" | "phone" | "email_sha256" | "phone_number_sha256" | "gaid" | the one identifier the file holds (inferred from a CSV header when omitted) |
identifierResolution | "auto" | auto = read every identifier column of a mixed CSV |
description | string | optional audience description |
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/create_openai_ads_audience.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_openai_ads_audience","arguments":{"name":"<string>"}}}
CLI
hermoso call create_openai_ads_audience --json '{"name":"<string>"}'
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
list_openai_ads_audiencesList ChatGPT Ads custom audiencesget_openai_ads_audienceRead one ChatGPT Ads custom audiencecreate_openai_ads_conversion_eventDefine a ChatGPT Ads conversionupdate_openai_ads_audience_membersAdd, remove or replace ChatGPT Ads audience memberscreate_openai_ads_pixelCreate a ChatGPT Ads pixellist_openai_ads_audience_operationsList ChatGPT Ads audience membership operationslist_openai_ads_conversion_eventsList ChatGPT Ads conversion eventscancel_openai_ads_audience_operationCancel a ChatGPT Ads audience membership operationx_ads_reportX ads performance reportresume_openai_ads_audience_operationResume a ChatGPT Ads audience membership operation