{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkedin/json-schema/linkedin-ad-account-schema.json",
  "title": "AdAccount",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkedin-account-management-api-openapi.yml#/components/schemas/AdAccount",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier"
    },
    "name": {
      "type": "string",
      "description": "Display name"
    },
    "currency": {
      "type": "string",
      "description": "Account currency"
    },
    "type": {
      "type": "string",
      "enum": [
        "BUSINESS",
        "ENTERPRISE"
      ],
      "description": "Account type"
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "CANCELLED",
        "DRAFT",
        "PENDING_DELETION",
        "REMOVED"
      ],
      "description": "Account status"
    },
    "reference": {
      "type": "string",
      "description": "Organization URN"
    },
    "test": {
      "type": "boolean",
      "description": "Whether this is a test account"
    },
    "notifiedOnCampaignOptimization": {
      "type": "boolean"
    },
    "notifiedOnCreativeApproval": {
      "type": "boolean"
    },
    "notifiedOnCreativeRejection": {
      "type": "boolean"
    },
    "notifiedOnEndOfCampaign": {
      "type": "boolean"
    }
  }
}