Meta: Update Campaign, Ad Set, Ad or Creative
meta_update_objectRename a Meta campaign, ad set, ad or creative in your ad account, change a campaign's or ad set's start and end dates, or swap the creative an ad shows (creative_id). Budget, status, targeting and bidding have their own tools (meta_update_budget, meta_set_status, meta_update_adset_targeting, meta_update_adset_bidding). An ad whose creative changes goes back through Meta's ad review.
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": {
"object_id": "<object_id>",
"object_type": "<object_type>"
},
"name": "meta_update_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. | |
| end_time | No | CAMPAIGN or ADSET: new end, ISO 8601 with offset. | |
| object_id | Yes | Id of the object to change. | |
| start_time | No | CAMPAIGN or ADSET: new start, ISO 8601 with offset. | |
| creative_id | No | AD only: creative to show instead. | |
| object_type | Yes | What the id is. | |
| ad_account_id | No | Meta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectId | Yes | Id of the changed object. | |
| objectType | Yes | Kind of object. | |
| changedFields | Yes | Graph fields that were written. |