Edit a ChatGPT Ads ad group
chatgpt_ads_update_ad_groupChange settings of ONE existing ad group: name, description, billing event (click or impression), the maximum bid (account currency; null returns to automatic bidding), context hints, and the UTM query-string template. Only what you pass changes, and only if it differs. NOT for pausing/resuming (chatgpt_ads_set_status); nothing is archived or deleted. A bid change sends the COMPLETE bidding configuration (current values with your changes), and a maximum bid that more than doubles needs allowLargeChange. Previews by default (dryRun true); set dryRun false only after the user agrees. Only works where the user has allowed changes for the ad account.
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": {
"adGroupId": "<adGroupId>"
},
"name": "chatgpt_ads_update_ad_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New 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; null switches to 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. | |
| adGroupId | Yes | The ad group id, from chatgpt_ads_get_ad_groups. | |
| description | No | New description; null clears it. | |
| billingEvent | No | Pay per click or per impression. | |
| contextHints | No | Replace the context hints (topics the ads should show beside); [] clears them. | |
| allowLargeChange | No | A budget that more than doubles the current one is refused unless this is true. Set it only when the increase is deliberate and the user has confirmed it. | |
| queryStringTemplate | No | The UTM / query-string template OpenAI appends to the link (landing_page_configuration.query_string_template), e.g. utm_source=chatgpt.com&utm_medium=cpc&utm_campaign={campaign_name}. No leading ?, no spaces, 2048 characters at most. null removes it. Tagging links lets GA4 attribute the traffic (chatgpt_ads_vs_ga4_conversions). |