Meta Ads icon

Meta Ads

Access Meta Ads Marketing API

Actions20

Ad → Update

AI-generated

Summary

Update an existing ad in a specified Meta Ads account by providing the ad's unique ID and new attribute values such as name and status.

Inputs

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

Output shape

a single JSON object representing the updated ad details returned by the Meta Ads API.

The operation performs an HTTP POST request to the endpoint /{adId} where {adId} is the ID of the ad to update. Only specified fields (name and status) are included in the request body and updated accordingly. The response contains the updated ad object. No pagination is involved.

Examples

Example 1: Update the name and set status to active for a given ad

Provide the Ad Account ID, the Ad ID, the new name, and set status to 'Active'.

Links

Discussion