{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentcentral-to/json-schema/agentcentral-to-post-sd-campaigns-request-schema.json",
  "title": "PostSdCampaignsRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/agentcentral-to-openapi-generated.yml#/components/schemas/PostSdCampaignsRequest",
  "type": "object",
  "properties": {
    "campaigns": {
      "type": "array",
      "description": "Sponsored Display campaigns to create (1-100 per call). Each item includes name, tactic, start_date, budget, cost_type, state, and optional end_date or portfolio_id."
    },
    "confirm": {
      "type": "boolean",
      "description": "Preview by default. Set true to submit the Ads API mutation."
    },
    "idempotency_key": {
      "type": "string",
      "description": "Required when confirm=true. Reusing the same key blocks duplicate Ads API submissions."
    },
    "reason": {
      "type": "string",
      "description": "Optional user‑supplied reason for the write, stored where audit logging supports it."
    },
    "actor": {
      "type": "string",
      "description": "Optional external actor label for the agent or workflow requesting the write."
    }
  },
  "required": [
    "campaigns"
  ]
}