MCP tools

Update campaign, ad set or ad

Update properties on a campaign, ad set, or ad node.

Tool name: update-node.

Update properties on a campaign, ad set, or ad node. To attach a creative to an ad, pass creativeId (numeric). To attach a persisted copy generation to an ad, pass copyGenerationId (numeric). To attach an existing Meta post to an ad, pass postId (string). To pause/activate/resume a node, pass properties: { status: "PAUSED" | "ACTIVE" }, status is NOT a settings path, it lives on the node itself and must go through updateNode. Use properties for arbitrary fields (e.g., name, status). At least one of creativeId / copyGenerationId / postId / properties must be provided.

When to use

Attach a creativeId, copyGenerationId or postId to an ad, rename via properties.name, OR pause/activate/resume via properties.status ("PAUSED"|"ACTIVE"). NOT for settings (budget, targeting, schedule), use updateSettings for those. status is NOT a settings path.

Access

PropertyValue
Required scopewrite
PublishesNo
Read-onlyNo
DestructiveYes
IdempotentNo
Open worldYes

Input

FieldTypeRequiredDescription
campaignLaunchIdstringYesCampaign launch ID (a.k.a. batch ID). Read it from the Current Context block when one is in scope, or resolve it from a mention via listAccountCampaigns / the campaign tree when the user @-mentioned a different launch.
nodeIdstringYesID of the node to update
creativeIdnumberNoNumeric creative ID to attach to an ad node. Use this when the user says "use this creative" or selects a creative from the attachments panel.
copyGenerationIdnumberNoNumeric copy generation ID to attach to an ad node. Use this AFTER calling generateCopy, take the returned id and pass it here on the target ad.
postIdstringNoExisting Meta post ID to attach to an ad node.
propertiesobjectNoOther key-value pairs to update (e.g., { name: "New name" }). Do NOT put creativeId / copyGenerationId / postId here, use the dedicated fields above.

Output

The tool catalog does not declare an output schema for this tool.

REST equivalent

PATCH /v1/brands/{brandId}/launches/{launchId}/nodes/{nodeId}, Update campaign, ad set or ad. CLI: koast update-node.

On this page