Meta Ads icon

Meta Ads

Access Meta Ads Marketing API

Actions20

Campaign → Update

AI-generated

Summary

Update the properties of an existing Meta Ads campaign by specifying its ID and desired attribute changes.

Inputs

  • Ad Account ID (required) — The numeric ID of the ad account (without the act_ prefix) to which the campaign belongs.
  • Campaign ID (required) — The unique identifier of the campaign to update.
  • Name (required) — The new name to assign to the campaign.
  • Status — The updated status of the campaign, either 'Active' or 'Paused'.

Output shape

a single record

Returns the updated campaign object from the Meta Ads API reflecting the changes made.

Examples

Example 1: Update a campaign's name and status by specifying campaign and ad account IDs.

Set resource to 'Campaign' and operation to 'Update', provide 'Ad Account ID', 'Campaign ID', 'Name', and optionally 'Status'.

Links

Discussion