Skip to main content
metaAds.createAdSet creates an ad set with delivery and targeting configuration.
automations/meta-ads-create-ad-set.automation.ts
Budgets use the ad account currency’s minor unit. Omit both budgets when the campaign owns the budget; otherwise set exactly one. Set promotedObject when the optimization goal requires a pixel, Page, app, product set, or custom conversion. status defaults to PAUSED. Optional second argument { account } selects a static project account binding. Returns the created ad-set ID. Creation is not replay-safe.