Create a paused ChatGPT Ads ad group
chatgpt_ads_create_ad_groupCreate an ad group inside a campaign, always PAUSED. Previews by default (dryRun true). Needs the campaign id and a name; bidding is billed per click or per impression, with an optional maximum bid (omit for automatic bidding), optional context hints (topics the ad should appear next to), and an optional queryStringTemplate (UTM tags; it overrides the campaign's for a matching key). A name that already exists in that campaign is refused.
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": {
"campaignId": "<campaignId>",
"name": "<name>"
},
"name": "chatgpt_ads_create_ad_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Ad group name (3+ characters). | |
| dryRun | No | Preview only (the default): reads the current value and shows exactly what would change (before and after) without sending anything. Set false only after the user has seen the preview and agreed. | |
| maxBid | No | Maximum bid in the account currency. Omit for automatic bidding. | |
| accountId | No | The ChatGPT Ads ad account id, as listed by chatgpt_ads_list_ad_accounts. A connection reaches one ad account, so this is normally left out. | |
| campaignId | Yes | The campaign id, from chatgpt_ads_get_campaigns. | |
| billingEvent | No | Pay per click (default) or per thousand impressions. | |
| contextHints | No | Topics or phrases describing the conversations the ads should show beside. | |
| queryStringTemplate | No | UTM / tracking query string OpenAI appends to destination links, e.g. utm_source=chatgpt.com&utm_medium=cpc&utm_campaign={campaign_id}&utm_content={ad_id} (no leading '?', max 2048). Only {campaign_id}, {ad_id} and {oppref} are supported macros. Set at campaign level and ad groups and ads inherit it; a lower level overrides a matching key. chatgpt_ads_utm_audit shows what is tagged and recommends a template. |