---
title: "Update Ad Group"
method: PATCH
path: "/api/v1/campaigns/{campaign_id}/ad-groups/{ad_group_id}"
tags: ["Campaigns"]
---

# Update Ad Group

`PATCH /api/v1/campaigns/{campaign_id}/ad-groups/{ad_group_id}`

## Request

- Base URL: `https://api.adrex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adrex.ai/api/v1/campaigns/{campaign_id}/ad-groups/{ad_group_id}`
- Auth: HTTP bearer

Update fields on an ad group (Google) or ad set (Meta).

## Path parameters

- `campaign_id` string, required
- `ad_group_id` string, required

## Query parameters

- `platform` string, required: Platform: 'google' or 'meta'
- `account_id` string, nullable: Account ID for direct platform call

## Request body

- AdGroupUpdateRequest: Fields editable on an ad group (Google) or ad set (Meta).
  - `name` string, nullable
  - `daily_budget` number, nullable
  - `lifetime_budget` number, nullable
  - `cpc_bid` number, nullable
  - `cpm_bid` number, nullable
  - `target_cpa` number, nullable
  - `target_roas` number, nullable
  - `bid_amount` number, nullable
  - `bid_strategy` string, nullable
  - `optimization_goal` string, nullable
  - `billing_event` string, nullable
  - `start_time` string, nullable
  - `end_time` string, nullable
  - `status` string, nullable
  - `targeting` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adrex/apis/adrex-ai.md) · [All operations](https://skmtc.dev/adrex/apis/adrex-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/adrex/apis/adrex-ai/revisions/4e6f0f0bc902?raw)
