# Hermoso: create_x_ads_campaign · Hermoso developer docs

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

# `create_x_ads_campaign`

Build an X ads campaign (paused) destructive

Area: ChatGPT Ads · [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 a campaign on X (Twitter). ALWAYS CREATED PAUSED with no override — it spends NOTHING until set_x_ads_status(confirm:true). A CAMPAIGN ALONE CANNOT SERVE ON X: it needs a line item and a promoted post underneath it, and the read-back says so rather than letting you call it a finished ad. Requires a funding instrument (a payment method on the X ad account) — omit fundingInstrumentId to be shown the usable ones, and if there are none this refuses with that reason instead of failing at X. Budgets are in the ad account’s own currency. Everything is READ BACK from X before you are told it exists; print the returned note verbatim.

## Parameters

Parameter Type Description

`adAccountId` `string` X ad account id (list_x_ads_accounts); omit if only one is shared

`accountId` `string` older name for adAccountId (MCP only)

`name` required `string` campaign name

`fundingInstrumentId` `string` omit to be shown the account’s usable funding instruments

`dailyBudget` `number` in the ad account’s currency

`totalBudget` `number` lifetime budget in ad account currency

`startTime` `string` ISO 8601

`endTime` `string` ISO 8601 end time; X deprecates campaign schedules, so set the schedule on the line item

## 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_x_ads_campaign`.

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

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

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

## Related tools

- [set_x_ads_status](https://hermoso.ai/docs/reference/ads/set_x_ads_status/) Pause or activate an X campaign or line item
- [list_x_ads_campaigns](https://hermoso.ai/docs/reference/ads/list_x_ads_campaigns/) List X ads campaigns
- [list_x_ads_accounts](https://hermoso.ai/docs/reference/ads/list_x_ads_accounts/) List X ad accounts
- [openai_ads_geo_search](https://hermoso.ai/docs/reference/ads/openai_ads_geo_search/) Find ChatGPT Ads location ids
- [openai_ads_report](https://hermoso.ai/docs/reference/ads/openai_ads_report/) ChatGPT Ads performance report
- [list_openai_ads_campaigns](https://hermoso.ai/docs/reference/ads/list_openai_ads_campaigns/) List ChatGPT Ads account / campaigns / ad groups / ads

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