{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-ads/json-schema/google-ads-remove-all-audience-members-request-schema.json",
  "title": "RemoveAllAudienceMembersRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-datamanager-audience-members-api-openapi.yml#/components/schemas/RemoveAllAudienceMembersRequest",
  "type": "object",
  "properties": {
    "destinations": {
      "items": {
        "$ref": "#/$defs/Destination"
      },
      "type": "array"
    },
    "validateOnly": {
      "type": "boolean"
    },
    "removeAsOfTime": {
      "type": "string",
      "format": "google-datetime"
    }
  },
  "$defs": {
    "Destination": {
      "properties": {
        "reference": {
          "type": "string"
        },
        "productDestinationId": {
          "type": "string"
        },
        "loginAccount": {
          "$ref": "#/$defs/ProductAccount"
        },
        "linkedAccount": {
          "$ref": "#/$defs/ProductAccount"
        },
        "operatingAccount": {
          "$ref": "#/$defs/ProductAccount"
        }
      },
      "type": "object"
    },
    "ProductAccount": {
      "type": "object",
      "properties": {
        "product": {
          "type": "string",
          "enum": [
            "PRODUCT_UNSPECIFIED",
            "GOOGLE_ADS",
            "DISPLAY_VIDEO_PARTNER",
            "DISPLAY_VIDEO_ADVERTISER",
            "DATA_PARTNER"
          ],
          "deprecated": true
        },
        "accountId": {
          "type": "string"
        },
        "accountType": {
          "type": "string",
          "enum": [
            "ACCOUNT_TYPE_UNSPECIFIED",
            "GOOGLE_ADS",
            "DISPLAY_VIDEO_PARTNER",
            "DISPLAY_VIDEO_ADVERTISER",
            "DATA_PARTNER",
            "GOOGLE_ANALYTICS_PROPERTY",
            "GOOGLE_AD_MANAGER_AUDIENCE_LINK",
            "FLOODLIGHT_CONFIG",
            "GOOGLE_AD_MANAGER"
          ]
        }
      }
    }
  }
}