and operatoror group containing your actual filter conditionsor group (placeholder)and → or → and → or → filteris_not, not_contains, at_least, less_than, begins_with, ends_with, is_empty, is_present"negated": true. This turns "companies from region X" into "companies NOT from region X."region, country_codepage_url{
"type": "group",
"operator": "and",
"items": [
{
"type": "group",
"operator": "or",
"negated": false,
"items": [
{
"type": "group",
"operator": "and",
"items": [
{
"type": "group",
"operator": "or",
"items": [
{ "type": "filter", "field": "...", "operator": "...", "value": "..." }
]
}
]
}
]
},
{
"type": "group",
"operator": "or",
"negated": true,
"items": []
}
]
}and group with exactly 2 itemsor group containing your conditionsor group (required placeholder)and → or → and → or → filter{
"data": {
"type": "custom_feed",
"attributes": {
"name": "Hamburg Traffic",
"notifications": [],
"advanced_filters": {
"type": "group",
"operator": "and",
"items": [
{
"type": "group",
"operator": "or",
"items": [
{
"type": "group",
"operator": "and",
"items": [
{
"type": "group",
"operator": "or",
"items": [
{
"type": "filter",
"operator": "is",
"field": "region",
"value": "Hamburg"
}
]
}
]
}
]
},
{
"type": "group",
"operator": "or",
"negated": true,
"items": []
}
]
}
}
}
}region equals "Hamburg". The structure follows the API's required pattern with alternating and/or groups. The second empty negated group is a required placeholder.{
"data": {
"type": "custom_feed",
"attributes": {
"name": "Hamburg or Brandenburg",
"notifications": [],
"advanced_filters": {
"type": "group",
"operator": "and",
"items": [
{
"type": "group",
"operator": "or",
"items": [
{
"type": "group",
"operator": "and",
"items": [
{
"type": "group",
"operator": "or",
"items": [
{
"type": "filter",
"operator": "is",
"field": "region",
"value": "Hamburg"
},
{
"type": "filter",
"operator": "is",
"field": "region",
"value": "Brandenburg"
}
]
}
]
}
]
},
{
"type": "group",
"operator": "or",
"negated": true,
"items": []
}
]
}
}
}
}or group contains two filters. If region is Hamburg OR Brandenburg, the visit matches.{
"data": {
"type": "custom_feed",
"attributes": {
"name": "Hamburg/Brandenburg – Clean Intent Traffic",
"notifications": [],
"advanced_filters": {
"type": "group",
"operator": "and",
"items": [
{
"type": "group",
"operator": "or",
"items": [
{
"type": "group",
"operator": "and",
"items": [
{
"type": "group",
"operator": "or",
"items": [
{
"type": "filter",
"operator": "is",
"field": "region",
"value": "Hamburg"
},
{
"type": "filter",
"operator": "is",
"field": "region",
"value": "Brandenburg"
}
]
},
{
"type": "group",
"operator": "or",
"items": [
{
"type": "filter",
"operator": "contains",
"field": "page_url",
"value": "pricing"
},
{
"type": "filter",
"operator": "contains",
"field": "page_url",
"value": "demo"
}
]
}
]
}
]
},
{
"type": "group",
"operator": "or",
"negated": true,
"items": []
}
]
}
}
}
}and group combines two separate or groups:{
"relationships": {
"folder": {
"id": "17",
"type": "custom_feed_folder"
}
}
}{
"notifications": [
{
"sending_interval": "day",
"medium": "email",
"user_id": 12345
}
]
}immediate for real-time alerts, day for daily digests, or week for weekly summaries.and operator. The error "value at /operator is not: and" means you didn't use and at the root level.and group requires exactly 2 items. The second must be an empty negated or group.is instead of contains for URLs: URLs often include path parameters or tracking codes. Use contains to match the core path rather than requiring an exact match.