metaAds.createAdSet creates an ad set with delivery and targeting configuration.
automations/meta-ads-create-ad-set.automation.ts
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.