{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metricool/json-schema/metricool-json-ok-list-response-adgroup-schema.json",
  "title": "JsonOkListResponseAdgroup",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/metricool-adgroups-api-service-api-openapi.yml#/components/schemas/JsonOkListResponseAdgroup",
  "type": "object",
  "properties": {
    "metadata": {
      "type": "object"
    },
    "page": {
      "$ref": "#/$defs/JsonPaging"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Adgroup"
      }
    }
  },
  "$defs": {
    "Adgroup": {
      "type": "object",
      "properties": {
        "network": {
          "type": "string"
        },
        "campaignId": {
          "type": "string"
        },
        "campaignName": {
          "type": "string"
        },
        "providerAdgroupId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "PAUSED",
            "REMOVED"
          ]
        },
        "dailyBudget": {
          "type": "number",
          "format": "double"
        },
        "lifetimeBudget": {
          "type": "number",
          "format": "double"
        },
        "currency": {
          "type": "string"
        },
        "biddingStrategyType": {
          "type": "string"
        },
        "maxCPC": {
          "type": "number",
          "format": "double"
        },
        "metrics": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        }
      }
    },
    "JsonPaging": {
      "type": "object",
      "properties": {
        "next": {
          "type": "string"
        }
      }
    }
  }
}