{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-remarketing-lists-list-response-schema.json",
  "title": "RemarketingListsListResponse",
  "description": "Remarketing list response",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-remarketing-lists-api-openapi.yml#/components/schemas/RemarketingListsListResponse",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListsListResponse\"."
    },
    "nextPageToken": {
      "type": "string",
      "description": "Pagination token to be used for the next list operation."
    },
    "remarketingLists": {
      "description": "Remarketing list collection.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/RemarketingList"
      }
    }
  },
  "$defs": {
    "DimensionValue": {
      "type": "object",
      "description": "Represents a DimensionValue resource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID associated with the value if available."
        },
        "value": {
          "type": "string",
          "description": "The value of the dimension."
        },
        "dimensionName": {
          "description": "The name of the dimension.",
          "type": "string"
        },
        "matchType": {
          "type": "string",
          "enum": [
            "EXACT",
            "BEGINS_WITH",
            "CONTAINS",
            "WILDCARD_EXPRESSION"
          ],
          "description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT."
        },
        "etag": {
          "type": "string",
          "description": "The eTag of this response for caching purposes."
        },
        "kind": {
          "description": "The kind of resource this is, in this case dfareporting#dimensionValue.",
          "type": "string"
        }
      }
    },
    "ListPopulationClause": {
      "properties": {
        "terms": {
          "description": "Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.",
          "items": {
            "$ref": "#/$defs/ListPopulationTerm"
          },
          "type": "array"
        }
      },
      "description": "A group clause made up of list population terms representing constraints joined by ORs.",
      "type": "object"
    },
    "ListPopulationRule": {
      "type": "object",
      "properties": {
        "listPopulationClauses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ListPopulationClause"
          },
          "description": "Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs."
        },
        "floodlightActivityName": {
          "description": "Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.",
          "type": "string"
        },
        "floodlightActivityId": {
          "format": "int64",
          "description": "Floodlight activity ID associated with this rule. This field can be left blank.",
          "type": "string"
        }
      },
      "description": "Remarketing List Population Rule."
    },
    "ListPopulationTerm": {
      "properties": {
        "variableName": {
          "description": "Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.",
          "type": "string"
        },
        "value": {
          "description": "Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.",
          "type": "string"
        },
        "remarketingListId": {
          "description": "ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.",
          "type": "string",
          "format": "int64"
        },
        "type": {
          "description": "List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.",
          "type": "string",
          "enum": [
            "CUSTOM_VARIABLE_TERM",
            "LIST_MEMBERSHIP_TERM",
            "REFERRER_TERM"
          ]
        },
        "variableFriendlyName": {
          "type": "string",
          "description": "Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM."
        },
        "contains": {
          "description": "Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.",
          "type": "boolean"
        },
        "operator": {
          "description": "Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.",
          "type": "string",
          "enum": [
            "NUM_EQUALS",
            "NUM_LESS_THAN",
            "NUM_LESS_THAN_EQUAL",
            "NUM_GREATER_THAN",
            "NUM_GREATER_THAN_EQUAL",
            "STRING_EQUALS",
            "STRING_CONTAINS"
          ]
        },
        "negation": {
          "type": "boolean",
          "description": "Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM."
        }
      },
      "type": "object",
      "description": "Remarketing List Population Rule Term."
    },
    "RemarketingList": {
      "type": "object",
      "description": "Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.",
      "properties": {
        "active": {
          "description": "Whether this remarketing list is active.",
          "type": "boolean"
        },
        "listSize": {
          "description": "Number of users currently in the list. This is a read-only field.",
          "format": "int64",
          "type": "string"
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingList\".",
          "type": "string"
        },
        "subaccountId": {
          "format": "int64",
          "description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.",
          "type": "string"
        },
        "description": {
          "description": "Remarketing list description.",
          "type": "string"
        },
        "advertiserIdDimensionValue": {
          "$ref": "#/$defs/DimensionValue",
          "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field."
        },
        "listSource": {
          "description": "Product from which this remarketing list was originated.",
          "type": "string",
          "enum": [
            "REMARKETING_LIST_SOURCE_OTHER",
            "REMARKETING_LIST_SOURCE_ADX",
            "REMARKETING_LIST_SOURCE_DFP",
            "REMARKETING_LIST_SOURCE_XFP",
            "REMARKETING_LIST_SOURCE_DFA",
            "REMARKETING_LIST_SOURCE_GA",
            "REMARKETING_LIST_SOURCE_YOUTUBE",
            "REMARKETING_LIST_SOURCE_DBM",
            "REMARKETING_LIST_SOURCE_GPLUS",
            "REMARKETING_LIST_SOURCE_DMP",
            "REMARKETING_LIST_SOURCE_PLAY_STORE"
          ]
        },
        "advertiserId": {
          "type": "string",
          "description": "Dimension value for the advertiser ID that owns this remarketing list. This is a required field.",
          "format": "int64"
        },
        "name": {
          "type": "string",
          "description": "Name of the remarketing list. This is a required field. Must be no greater than 128 characters long."
        },
        "listPopulationRule": {
          "$ref": "#/$defs/ListPopulationRule",
          "description": "Rule used to populate the remarketing list with users."
        },
        "accountId": {
          "format": "int64",
          "type": "string",
          "description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests."
        },
        "id": {
          "type": "string",
          "format": "int64",
          "description": "Remarketing list ID. This is a read-only, auto-generated field."
        },
        "lifeSpan": {
          "type": "string",
          "description": "Number of days that a user should remain in the remarketing list without an impression. Acceptable values are 1 to 540, inclusive.",
          "format": "int64"
        }
      }
    }
  }
}