# PATCH /meta-ads/objects/:id

**Resource:** [META_ADS](./meta-ads.md)  
**MCP tool:** `update_meta_ad_object`  
**Scopes:** `meta-ads-manage:write`  
**Write operation:** yes

Edit an existing Meta campaign, ad set or ad: rename any of them, change an ad set's targeting or schedule, or switch an ad to a different creative. Status and budget can't be changed here (a request carrying either is refused): use set_meta_ad_status and set_meta_ad_budget. Editing something that is running changes it live. Needs the meta-ads-manage scope (admins only by default); with meta-ads-manage:write-approval the request waits for a person to approve it. Logged with who made it (list_meta_ad_changes). Returns the values before and after.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | string | yes | The Meta id of the campaign, ad set or ad. |
| `level` | body | string | yes | 'ad', 'adset' (ad set) or 'campaign'. |
| `name` | body | string | no | New name (any level). |
| `targeting` | body | object | no | Ad sets only: the full new targeting, in the same format as create_meta_ad_set (it replaces the old targeting). |
| `start_time` | body | string | no | Ad sets only: new start, ISO 8601. |
| `end_time` | body | string | no | Ad sets only: new end, ISO 8601. |
| `creative_id` | body | string | no | Ads only: switch the ad to this creative. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/meta-ads/objects/:id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"level":"...","name":"...","targeting":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`