> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Ad Group Bid

> Update the bid of an OpenAI Ads ad group

Update the bid of an OpenAI Ads ad group. Enter the bid in account currency, not micros.

|                       |                                  |
| --------------------- | -------------------------------- |
| **App**               | OpenAI Ads                       |
| **Operation ID**      | `openai_ads_update_ad_group_bid` |
| **Type**              | Action                           |
| **Connection**        | `openai_ads` (required)          |
| **Credits per run**   | 1                                |
| **Agent / MCP tool**  | Yes                              |
| **Requires approval** | Yes (write operation)            |

## Inputs

| Field                | Type                       | Required | Default | Description                                                                                                                                                                                                                                                                 |
| -------------------- | -------------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ad_group_id`        | string or SelectableOption | Yes      | -       | Ad group ID to update (from openai\_ads\_list\_ad\_groups).                                                                                                                                                                                                                 |
| `billing_event_type` | string or SelectableOption | Yes      | -       | Bid / billing event type. Must match the parent campaign's objective: 'impression' for an impressions campaign, 'click' for both clicks and conversions campaigns (for a conversions/oCPC campaign the bid amount is the target CPA).                                       |
| `strategy`           | string or SelectableOption | No       | -       | Bidding strategy: 'fixed\_bid' (the default if omitted) bids the bid\_amount; 'maximize\_clicks' / 'maximize\_conversions' bid automatically, making bid\_amount optional.                                                                                                  |
| `bid_amount`         | number                     | No       | -       | Maximum bid in account currency, not micros. This value is converted to micros automatically before sending to the API. Required unless strategy is 'maximize\_clicks' or 'maximize\_conversions'. For a conversions (oCPC) campaign this is the target CPA per conversion. |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `Dict`

Returns the updated ad group object exactly as returned by the OpenAI Ads API (id, name, status, bidding\_config, context\_hints, description, product\_set, campaign\_id, created\_at, updated\_at).

**Fields**: dynamic (depend on the inputs)

**Example**:

```json theme={"dark"}
{
  "id": "adgrp_...",
  "name": "US English",
  "status": "active",
  "bidding_config": {
    "billing_event_type": "click",
    "max_bid_micros": 5000000
  },
  "updated_at": 1735862400
}
```
