{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/brandmov-com/json-schema/brandmov-com-post-api-v1-meta-adsets-request-schema.json",
  "title": "PostApiV1MetaAdsetsRequest",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/brandmov-com-openapi-generated.yml#/components/schemas/PostApiV1MetaAdsetsRequest",
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "description": "account_id, required"
    },
    "campaign_id": {
      "type": "string",
      "description": "campaign_id, required"
    },
    "name": {
      "type": "string",
      "description": "name string, required"
    },
    "optimization_goal": {
      "type": "string",
      "description": "optimization_goal string, required"
    },
    "billing_event": {
      "type": "string",
      "description": "billing_event string, required"
    },
    "daily_budget": {
      "type": "integer",
      "description": "daily_budget / lifetime_budget int"
    },
    "promoted_object": {
      "type": "object",
      "description": "promoted_object object e.g. {pixel_id, custom_event_type}"
    },
    "targeting": {
      "type": "object",
      "description": "targeting object Graph targeting spec."
    }
  },
  "required": [
    "account_id",
    "campaign_id",
    "name",
    "optimization_goal",
    "billing_event"
  ]
}