Meta Ads icon

Meta Ads

Access Meta Ads Marketing API

Actions20

Ad Set → Update

AI-generated

Summary

Update an existing Ad Set in a Meta Ads ad account by specifying its ID and modifying properties such as name, status, daily budget, and targeting criteria.

Inputs

  • Ad Account ID (required) — The numeric ID of the ad account (without the "act_" prefix) in which the Ad Set exists.
  • Ad Set ID (required) — The unique identifier of the Ad Set to update.
  • Name (required) — The new name to assign to the Ad Set.
  • Status — The desired status of the Ad Set, either 'Active' or 'Paused'. Defaults to 'Paused'.
  • Daily Budget — Daily budget in cents for the Ad Set (e.g., 1000 equals $10.00).
  • Targeting (JSON) — Targeting specifications for the Ad Set in JSON format (e.g., geographic locations, age ranges).
  • Request Options — Advanced request parameters including batching controls, proxy settings, timeout, and SSL verification options.

Output shape

a single updated Ad Set object reflecting the applied changes

Requires the Ad Set ID and Ad Account ID to identify the resource to update. Optional fields will only update specified properties. The output includes the new state of the Ad Set after update. Errors will be thrown if required inputs are missing or update fails.

Links

Discussion