# Hermoso: openai_ads_bulk: ChatGPT Ads bulk · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/openai_ads_bulk/. 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/) / openai_ads_bulk

# `openai_ads_bulk`

ChatGPT Ads bulk create/update job 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

Create or update up to 1,000 ChatGPT Ads campaigns, ad groups and ads in ONE asynchronous job — the only way to build a whole tree in one call. It builds CHAT-CARD campaigns only: its campaign.create has no product-feed mode, and OpenAI’s spreadsheet bulk creation of product-feed campaigns and ad groups with auto-generated ad templates is an Ads Manager feature with no API. Build a product-feed campaign with create_openai_ads_campaign (mode product_feed), create_openai_ads_ad_group and an ad whose creative type is the product-ad template instead. Each operation is {operation_id, type, idempotency_key|target_resource_id, input}. Types: campaign.create, campaign.update, ad_group.create, ad_group.update, ad.create, ad.update. FORWARD REFERENCES are the point: set input.campaign_idempotency_key / input.ad_group_idempotency_key to another CREATE operation’s idempotency_key and the child attaches to the parent made in the same job (a key no operation mints is refused here, for free, rather than failing the whole job at OpenAI). EVERYTHING CREATED IS PAUSED and spends nothing — status:"active" on a create is overridden, and an UPDATE that would set "active" is REFUSED BY NAME, because one job could otherwise arm a thousand objects in a single call that no confirmation ever saw; turn things on one at a time with set_openai_ads_status. Use validateOnly:true for a FREE dry run (not update-target existence, image fetching or entity limits, so a validated job can still fail). Returns a jobId — poll it with openai_ads_bulk_job; an operation’s result is only final once the job is completed, partially_failed or failed. LIMITS (OpenAI’s): 1–1000 operations, 16 MiB body, 512 KiB per operation, 10 job creates per 10 s per ad account, budget ≥ 1000000 micros, titles 3–50, bodies ≤100. THE BULK API IS IN LIMITED PREVIEW AND ENABLED PER AD ACCOUNT: a 404 means this account has not been granted it (not a wrong path), and the refusal says so and names the per-object tools that do the same work.

## Parameters

Parameter Type Description

`operations` required `object[]` 1–1000 operations: {operation_id, type, idempotency_key (creates) or target_resource_id (updates), input:{…}}

`validateOnly` `boolean` true = FREE dry run; nothing is created or changed

`partialFailure` `boolean` default true (independent operations continue after an error). false skips later operations after a failure and does NOT roll back what already completed.

`idempotencyKey` `string` request-level key that makes an uncertain retry safe. Reusing it with a DIFFERENT body is an error at OpenAI. To rerun a failed job, submit the same body with a NEW request-level key.

## 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/openai_ads_bulk`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"openai_ads_bulk","arguments":{"operations":"<array>"}}}`
**CLI**

`hermoso call openai_ads_bulk --json '{"operations":"<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

- [create_openai_ads_campaign](https://hermoso.ai/docs/reference/ads/create_openai_ads_campaign/) Build a ChatGPT Ads campaign (paused)
- [create_openai_ads_ad_group](https://hermoso.ai/docs/reference/ads/create_openai_ads_ad_group/) Add a ChatGPT Ads ad group
- [set_openai_ads_status](https://hermoso.ai/docs/reference/ads/set_openai_ads_status/) Activate, pause or archive a ChatGPT Ads account / campaign / ad group / ad
- [openai_ads_bulk_job](https://hermoso.ai/docs/reference/ads/openai_ads_bulk_job/) Read a ChatGPT Ads bulk job
- [create_openai_ads_ad](https://hermoso.ai/docs/reference/ads/create_openai_ads_ad/) Create a ChatGPT Ads ad
- [update_openai_ads_feed_products](https://hermoso.ai/docs/reference/ads/update_openai_ads_feed_products/) Update ChatGPT Ads product-feed variants
- [update_openai_ads_object](https://hermoso.ai/docs/reference/ads/update_openai_ads_object/) Edit a ChatGPT Ads campaign / ad group / ad
- [archive_openai_ads_audience](https://hermoso.ai/docs/reference/ads/archive_openai_ads_audience/) Archive a ChatGPT Ads custom audience (permanent)
- [set_openai_ads_budget](https://hermoso.ai/docs/reference/ads/set_openai_ads_budget/) Set a ChatGPT Ads campaign budget
- [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)
