Plan a Meta ad set
meta_plan_create_adsetPlan a paused Meta ad set in a checked client campaign without writing changes; validate via dry-run before applying through meta_apply.
Instructions
PLAN (nothing is written): create a Meta ad set, always PAUSED, in a campaign of the client's account (checked). No bid fields (bid caps are refused by the policy). Dry-run with validate_only; apply with meta_apply. No automatic rollback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new entity (plain text) | |
| age_max | No | Maximum age (13-65) | |
| age_min | No | Minimum age (13-65) | |
| pixel_id | No | Optional pixel id of the client (promoted_object) | |
| client_id | No | Client id from clients_list; empty uses the only client | |
| countries | Yes | Target countries, ISO alpha-2 (FR, BE...) | |
| start_time | No | Optional ISO 8601 start with offset; empty = Meta default | |
| campaign_id | Yes | Numeric id of the parent campaign (same ad account) | |
| billing_event | Yes | Billing event, usually IMPRESSIONS | |
| custom_event_type | No | Conversion event with pixel_id, e.g. PURCHASE | |
| optimization_goal | Yes | Optimization goal, e.g. OFFSITE_CONVERSIONS | |
| advantage_audience | Yes | targeting_automation.advantage_audience, explicit: 0 (your targeting only) or 1 (Advantage+ audience) | |
| daily_budget_minor | No | Optional daily budget in MINOR units of the account currency (5000 = 50.00 EUR; 5000 = 5000 JPY); capped by the client's write policy |