{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-billing-rates-list-response-schema.json",
  "title": "BillingRatesListResponse",
  "description": "Billing Rate List Response",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-billing-rates-api-openapi.yml#/components/schemas/BillingRatesListResponse",
  "properties": {
    "billingRates": {
      "items": {
        "$ref": "#/$defs/BillingRate"
      },
      "type": "array",
      "description": "Billing rates collection."
    },
    "kind": {
      "type": "string",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingRatesListResponse\"."
    },
    "nextPageToken": {
      "type": "string",
      "description": "Pagination token to be used for the next list operation."
    }
  },
  "type": "object",
  "$defs": {
    "BillingRate": {
      "properties": {
        "tieredRates": {
          "description": "Tiered rate of this billing rate. This cannot co-exist with flat rate.",
          "items": {
            "$ref": "#/$defs/BillingRateTieredRate"
          },
          "type": "array"
        },
        "type": {
          "description": "Type of this billing rate.",
          "type": "string",
          "enum": [
            "AD_SERVING",
            "CLICKS",
            "MINIMUM_SERVICE",
            "PATH_TO_CONVERSION",
            "RICH_MEDIA_INPAGE",
            "RICH_MEDIA_EXPANDING",
            "RICH_MEDIA_FLOATING",
            "RICH_MEDIA_VIDEO",
            "RICH_MEDIA_TEASER",
            "RICH_MEDIA_VPAID",
            "INSTREAM_VIDEO",
            "PIXEL",
            "TRACKING",
            "TRAFFICKING_FEATURE",
            "CUSTOM_REPORTS",
            "EXPOSURE_TO_CONVERSION",
            "DATA_TRANSFER",
            "DATA_TRANSFER_SETUP",
            "STARTUP",
            "STATEMENT_OF_WORK",
            "PROVIDED_LIST",
            "PROVIDED_LIST_SETUP",
            "ENHANCED_FORMATS",
            "TRACKING_AD_IMPRESSIONS",
            "TRACKING_AD_CLICKS",
            "NIELSEN_DIGITAL_AD_RATINGS_FEE",
            "INSTREAM_VIDEO_REDIRECT",
            "INSTREAM_VIDEO_VPAID",
            "DISPLAY_AD_SERVING",
            "VIDEO_AD_SERVING",
            "AUDIO_AD_SERVING",
            "ADVANCED_DISPLAY_AD_SERVING"
          ]
        },
        "unitOfMeasure": {
          "enum": [
            "CPM",
            "CPC",
            "EA",
            "P2C"
          ],
          "type": "string",
          "description": "Unit of measure for this billing rate."
        },
        "startDate": {
          "description": "Start date of this billing rate.",
          "type": "string"
        },
        "id": {
          "format": "int64",
          "type": "string",
          "description": "ID of this billing rate."
        },
        "currencyCode": {
          "description": "Billing currency code in ISO 4217 format.",
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Name of this billing rate. This must be less than 256 characters long."
        },
        "rateInMicros": {
          "description": "Flat rate in micros of this billing rate. This cannot co-exist with tiered rate.",
          "format": "int64",
          "type": "string"
        },
        "endDate": {
          "description": "End date of this billing rate.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "BillingRateTieredRate": {
      "type": "object",
      "properties": {
        "lowValue": {
          "description": "The minimum for this tier range.",
          "type": "string",
          "format": "int64"
        },
        "rateInMicros": {
          "type": "string",
          "description": "Rate in micros for this tier.",
          "format": "int64"
        },
        "highValue": {
          "description": "The maximum for this tier range.",
          "format": "int64",
          "type": "string"
        }
      }
    }
  }
}