{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-ads/json-schema/google-ads-user-list-schema.json",
  "title": "UserList",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-datamanager-account-types-api-openapi.yml#/components/schemas/UserList",
  "type": "object",
  "properties": {
    "description": {
      "type": "string"
    },
    "targetNetworkInfo": {
      "$ref": "#/$defs/TargetNetworkInfo"
    },
    "closingReason": {
      "readOnly": true,
      "type": "string",
      "enum": [
        "CLOSING_REASON_UNSPECIFIED",
        "UNUSED"
      ]
    },
    "membershipStatus": {
      "type": "string",
      "enum": [
        "MEMBERSHIP_STATUS_UNSPECIFIED",
        "OPEN",
        "CLOSED"
      ]
    },
    "id": {
      "readOnly": true,
      "format": "int64",
      "type": "string"
    },
    "accountAccessStatus": {
      "type": "string",
      "enum": [
        "ACCESS_STATUS_UNSPECIFIED",
        "ENABLED",
        "DISABLED"
      ]
    },
    "integrationCode": {
      "type": "string"
    },
    "accessReason": {
      "type": "string",
      "enum": [
        "ACCESS_REASON_UNSPECIFIED",
        "OWNED",
        "SHARED",
        "LICENSED",
        "SUBSCRIBED",
        "AFFILIATED"
      ],
      "readOnly": true
    },
    "sizeInfo": {
      "$ref": "#/$defs/SizeInfo"
    },
    "displayName": {
      "type": "string"
    },
    "readOnly": {
      "readOnly": true,
      "type": "boolean"
    },
    "membershipDuration": {
      "format": "google-duration",
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "ingestedUserListInfo": {
      "$ref": "#/$defs/IngestedUserListInfo"
    }
  },
  "$defs": {
    "ContactIdInfo": {
      "properties": {
        "matchRatePercentage": {
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "dataSourceType": {
          "type": "string",
          "enum": [
            "DATA_SOURCE_TYPE_UNSPECIFIED",
            "DATA_SOURCE_TYPE_FIRST_PARTY",
            "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU",
            "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE",
            "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA"
          ]
        }
      },
      "type": "object"
    },
    "IngestedUserListInfo": {
      "type": "object",
      "properties": {
        "uploadKeyTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "UPLOAD_KEY_TYPE_UNSPECIFIED",
              "CONTACT_ID",
              "MOBILE_ID",
              "USER_ID",
              "PAIR_ID",
              "PSEUDONYMOUS_ID"
            ]
          }
        },
        "pairIdInfo": {
          "$ref": "#/$defs/PairIdInfo"
        },
        "partnerAudienceInfo": {
          "$ref": "#/$defs/PartnerAudienceInfo"
        },
        "pseudonymousIdInfo": {
          "$ref": "#/$defs/PseudonymousIdInfo"
        },
        "userIdInfo": {
          "$ref": "#/$defs/UserIdInfo"
        },
        "mobileIdInfo": {
          "$ref": "#/$defs/MobileIdInfo"
        },
        "contactIdInfo": {
          "$ref": "#/$defs/ContactIdInfo"
        }
      }
    },
    "MobileIdInfo": {
      "properties": {
        "dataSourceType": {
          "type": "string",
          "enum": [
            "DATA_SOURCE_TYPE_UNSPECIFIED",
            "DATA_SOURCE_TYPE_FIRST_PARTY",
            "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU",
            "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE",
            "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA"
          ]
        },
        "keySpace": {
          "type": "string",
          "enum": [
            "KEY_SPACE_UNSPECIFIED",
            "IOS",
            "ANDROID"
          ]
        },
        "appId": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "PairIdInfo": {
      "properties": {
        "publisherName": {
          "type": "string"
        },
        "advertiserIdentifierCount": {
          "type": "string",
          "format": "int64"
        },
        "cleanRoomIdentifier": {
          "type": "string"
        },
        "matchRatePercentage": {
          "type": "integer",
          "format": "int32"
        },
        "publisherId": {
          "type": "string",
          "format": "int64"
        }
      },
      "type": "object"
    },
    "PartnerAudienceInfo": {
      "type": "object",
      "properties": {
        "commercePartner": {
          "type": "string"
        },
        "partnerAudienceSource": {
          "type": "string",
          "enum": [
            "PARTNER_AUDIENCE_SOURCE_UNSPECIFIED",
            "COMMERCE_AUDIENCE",
            "LINEAR_TV_AUDIENCE",
            "AGENCY_PROVIDER_AUDIENCE"
          ]
        }
      }
    },
    "PseudonymousIdInfo": {
      "type": "object",
      "properties": {
        "syncStatus": {
          "type": "string",
          "enum": [
            "SYNC_STATUS_UNSPECIFIED",
            "CREATED",
            "READY_FOR_USE",
            "FAILED"
          ],
          "readOnly": true
        },
        "billableRecordCount": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "SizeInfo": {
      "type": "object",
      "properties": {
        "displayNetworkMembersCount": {
          "format": "int64",
          "type": "string",
          "readOnly": true
        },
        "youtubeMembersCount": {
          "type": "string",
          "readOnly": true,
          "format": "int64"
        },
        "gmailMembersCount": {
          "readOnly": true,
          "format": "int64",
          "type": "string"
        },
        "searchNetworkMembersCount": {
          "type": "string",
          "format": "int64",
          "readOnly": true
        }
      }
    },
    "TargetNetworkInfo": {
      "properties": {
        "eligibleForDisplay": {
          "type": "boolean",
          "readOnly": true
        },
        "eligibleForSearch": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "UserIdInfo": {
      "type": "object",
      "properties": {
        "dataSourceType": {
          "type": "string",
          "enum": [
            "DATA_SOURCE_TYPE_UNSPECIFIED",
            "DATA_SOURCE_TYPE_FIRST_PARTY",
            "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU",
            "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE",
            "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA"
          ]
        }
      }
    }
  }
}