Skip to main content
Glama

chatgpt_ads_campaigns_create

Creates a paused ChatGPT Ads campaign with budget and bidding settings, returning its ID for ad group setup. Enable it separately before it can spend.

Instructions

Creates one ChatGPT Ads campaign. Returns the new platform object unchanged (its id is what chatgpt_ads_ad_groups_create needs). Mutates the account. Always created paused (there is no status argument), so it cannot spend until chatgpt_ads_campaigns_enable is called. budget takes exactly one of daily_spend_limit_micros or lifetime_spend_limit_micros, in micros (1,000,000 = one unit). bidding_type cannot be changed later: impressions pairs with impression billing and fixed_bid; clicks with click billing and fixed_bid or maximize_clicks; conversions with click billing and fixed_bid or maximize_conversions, and needs exactly one conversion event setting. Maximize strategies need a daily budget; a lifetime budget allows fixed bidding only. The platform enforces these. STRATEGY.md budget caps apply; pass projected_total_daily_budget for the account-total cap. Location ids come from chatgpt_ads_locations_search. Each call carries an idempotency key (generated unless idempotency_key is given); if the answer is lost, repeat the call with that idempotency_key and the same arguments: when the platform can see the earlier create it returns that entity instead of creating a second one. No reversal is recorded: to undo, leave it paused or archive it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "budget": "<budget>",
      "bidding_type": "<bidding_type>"
    },
    "name": "chatgpt_ads_campaigns_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCampaign name: 3 to 1000 characters.
budgetYesThe budget, in micros of the account currency (1,000,000 = one unit; 75000000 is 75.00): exactly one of daily_spend_limit_micros or lifetime_spend_limit_micros, at least 1000000. The daily minimum also depends on the currency.
reasonNoWhy this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session.
approvalNoExternal approval this change carries out (recorded and shown, never verified)
end_timeNoEnd as Unix seconds. Omit for no end.
expectedNoExpected effects [{metric, direction, target?, horizon_days?, primary?}], exactly one primary:true when several; metric cpa/cpc/cpl/cpm/conversions/cvr/ctr/roas/cost/spend/clicks/impressions; direction up/down/hold.
targetingNoWhere and to whom the campaign serves; sent unchanged. locations / excluded_locations take countries (ISO codes, at most 250) and include (location ids from chatgpt_ads_locations_search, at most 2500); custom_audiences / excluded_custom_audiences take ids (at most 1000); platforms.included narrows the surfaces. Omit for the platform default.
start_timeNoStart as Unix seconds. Omit for the platform default.
decision_idNoA proposed decision this change carries out.
bidding_typeYesWhat the campaign optimizes for; fixed for its lifetime. Decides which billing events and strategies its ad groups may use.
idempotency_keyNoOptional key for repeating a create: 1-255 letters, digits, '_' or '-'. Omit it on a first attempt and mureo generates one; pass the key an error message names to repeat that attempt, which returns the earlier entity when the platform can see it. Never reuse a key for a different entity.
conversion_event_setting_idsNoConversion event setting ids. bidding_type 'conversions' needs exactly one active standard event setting; cannot be changed later. At most 1000.
projected_total_daily_budgetNoThe account's total daily budget across campaigns after this create, in account-currency units (75.0 is 75.00), NOT micros. Read by mureo's STRATEGY.md budget caps only; never sent to the platform.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.46.0

TDQS

A4.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The only annotation is readOnlyHint=false, so the description carries most of the disclosure burden and does it well: it declares that the account is mutated, what the call returns, the always-paused state, bidding_type immutability, budget-strategy enforcement by the platform, and that no reversal is recorded. It also explains idempotency-key replay semantics (a repeat with the same key returns the earlier entity when visible), which is genuine behavioral context beyond annotations. The one gap is that it doesn't state permission/auth requirements or what happens on partial failures, but the operational behavior it does cover is unusually complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the verb, resource, and return value, then grouped into coherent blocks (lifecycle, budget, bidding matrix, idempotency, cleanup). The bidding compatibility sentence is dense and long, but every clause conveys a real constraint; there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter, nested-object mutation tool with no output schema, the description covers the return value, the paused-by-default lifecycle, irreversible attributes, budget strategy enforcement, idempotency behavior, and external dependency lookups. An agent has what it needs to invoke this correctly and to recover from a lost response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100% (baseline 3), the description adds cross-parameter constraints the schema cannot express: the budget's exactly-one-of daily/lifetime rule, the impressions/clicks/conversions compatibility matrix with billing and bid strategies, the requirement that conversions needs exactly one conversion event setting, and that maximize strategies require a daily budget. It also explains projected_total_daily_budget is consumed only by STRATEGY.md caps and never sent to the platform, and clarifies idempotency_key replay rules.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ('Creates one ChatGPT Ads campaign') and immediately clarifies the returned object and that its id is the input to chatgpt_ads_ad_groups_create, which separates it from ad-group, enable, and archive siblings. An agent can distinguish this from the other campaign tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the campaign is always created paused and cannot spend until chatgpt_ads_campaigns_enable is called, and gives the undo path ('leave it paused or archive it'). It also points to chatgpt_ads_locations_search for location ids, so the preconditions and follow-on tools are named rather than inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools