{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-marketing-platform/json-schema/google-marketing-platform-report-property-usage-response-schema.json",
  "title": "ReportPropertyUsageResponse",
  "description": "Response message for ReportPropertyUsage RPC.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-marketing-platform-organizations-api-openapi.yml#/components/schemas/ReportPropertyUsageResponse",
  "type": "object",
  "properties": {
    "billInfo": {
      "$ref": "#/$defs/BillInfo"
    },
    "propertyUsages": {
      "type": "array",
      "description": "Usage data for all properties in the specified organization and month.",
      "items": {
        "$ref": "#/$defs/PropertyUsage"
      }
    }
  },
  "$defs": {
    "BillInfo": {
      "type": "object",
      "description": "Contains the bill amount.",
      "properties": {
        "eventFee": {
          "$ref": "#/$defs/Money"
        },
        "total": {
          "$ref": "#/$defs/Money"
        },
        "baseFee": {
          "$ref": "#/$defs/Money"
        },
        "priceProtectionCredit": {
          "$ref": "#/$defs/Money"
        }
      }
    },
    "Money": {
      "type": "object",
      "description": "Represents an amount of money with its currency type.",
      "properties": {
        "currencyCode": {
          "type": "string",
          "description": "The three-letter currency code defined in ISO 4217."
        },
        "units": {
          "type": "string",
          "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
          "format": "int64"
        },
        "nanos": {
          "type": "integer",
          "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
          "format": "int32"
        }
      }
    },
    "PropertyUsage": {
      "type": "object",
      "description": "Contains the count of events received by the property, along with metadata that influences the volume of `billable` events.",
      "properties": {
        "billableEventCount": {
          "type": "string",
          "description": "The number of events for which the property is billed in the requested month.",
          "format": "int64"
        },
        "serviceLevel": {
          "type": "string",
          "description": "The service level of the property.",
          "enum": [
            "ANALYTICS_SERVICE_LEVEL_UNSPECIFIED",
            "ANALYTICS_SERVICE_LEVEL_STANDARD",
            "ANALYTICS_SERVICE_LEVEL_360"
          ],
          "x-enum-descriptions": [
            "Service level unspecified.",
            "The standard version of Google Analytics.",
            "The premium version of Google Analytics."
          ]
        },
        "property": {
          "type": "string",
          "description": "The name of the Google Analytics Admin API property resource. Format: analyticsadmin.googleapis.com/properties/{property_id}"
        },
        "totalEventCount": {
          "type": "string",
          "description": "Total event count that the property received during the requested month.",
          "format": "int64"
        },
        "accountId": {
          "type": "string",
          "description": "The ID of the property's parent account.",
          "format": "int64"
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the property."
        },
        "propertyType": {
          "type": "string",
          "description": "The subtype of the analytics property. This affects the billable event count.",
          "enum": [
            "ANALYTICS_PROPERTY_TYPE_UNSPECIFIED",
            "ANALYTICS_PROPERTY_TYPE_ORDINARY",
            "ANALYTICS_PROPERTY_TYPE_SUBPROPERTY",
            "ANALYTICS_PROPERTY_TYPE_ROLLUP"
          ],
          "x-enum-descriptions": [
            "Unknown or unspecified property type",
            "Ordinary Google Analytics property",
            "Google Analytics subproperty",
            "Google Analytics rollup property"
          ]
        }
      }
    }
  }
}