> ## 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 Context Hints

> Update the context hints of an OpenAI Ads ad group

Update the context hints of an OpenAI Ads ad group.

|                       |                                            |
| --------------------- | ------------------------------------------ |
| **App**               | OpenAI Ads                                 |
| **Operation ID**      | `openai_ads_update_ad_group_context_hints` |
| **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).                                                                                  |
| `context_hints` | string or array of string  | Yes      | -       | Context hints — conversations, topics, or keywords where your products or services may be relevant. Provide one hint per line, or as a list. |

### 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",
  "context_hints": [
    "productivity software",
    "project planning"
  ],
  "updated_at": 1735862400
}
```
