Filter — targeting criteria for smart banners (SmartAdTarget)

The filter defines a set of product offers from the feed that are used for dynamically generating smart banners. For more information about filters, see Configuring filters in the Help for Yandex Direct.

Restrictions

The filter can only be added to a SMART_AD_GROUP type of ad group.

Maximum of 50 filters per group.

Type of product offer selection

There are two types of selection:

  • ITEMS_ALL — “Select all”.

    Smart banners are generated for all product offers from the feed.

  • ITEMS_SUBSET — “A group of pages”.

    The filter contains up to 10 selection rules. Smart banners are generated only for those product offers that meet all the selection rules at the same time.

Note. For the Yandex Realty feed and Flights feed in Google Ads, only the ITEMS_ALL type is available.

Selection rule

A rule for page selection consists of three parameters:

  • Operand — The feed field.
  • Operator — The comparison operator.
  • Arguments — An array of values to compare the field value in the feed with.

For a description of the fields for each type of feed, see Configuring filters in the Help for Yandex Direct.

The compatibility of feed fields and operators depends on the feed:

Retail sales, other business: Yandex Market feed
Feed field Operators Restrictions on values

categoryId

GREATER_THAN, LESS_THAN One number
EQUALS_ANY Up to 20,000 numbers
RANGE Max 10 ranges. See example.
id GREATER_THAN, LESS_THAN One number
EQUALS_ANY Max 50 numbers
RANGE Max 10 ranges. See example.

market_category

typePrefix

vendor

CONTAINS_ANY, NOT_CONTAINS_ALL Max 50 lines, max 175 characters per line
EXISTS Pass the value 1

description

model

name

CONTAINS_ANY, NOT_CONTAINS_ALL Max 50 lines, max 175 characters per line
url EQUALS,CONTAINS_ANY, NOT_CONTAINS_ALL Max 50 lines, max 175 characters per line

oldprice

price

GREATER_THAN, LESS_THAN Single number, up to 2 decimal places
EQUALS_ANY Max 50 numbers, up to 2 decimal places
RANGE Max 10 ranges, up to 2 decimal places. See the example.
EXISTS Pass the value 1

adult

manufacturer_warranty

pickup

store

EQUALS_ANY Acceptable values:
  • 0
  • 1
EXISTS Pass the value 1
age EQUALS_ANY Acceptable values: integer from 0 to 12, 16, or 18.
EXISTS Pass the value 1
Feed field Operators Restrictions on values

categoryId

GREATER_THAN, LESS_THAN One number
EQUALS_ANY Up to 20,000 numbers
RANGE Max 10 ranges. See example.
id GREATER_THAN, LESS_THAN One number
EQUALS_ANY Max 50 numbers
RANGE Max 10 ranges. See example.

market_category

typePrefix

vendor

CONTAINS_ANY, NOT_CONTAINS_ALL Max 50 lines, max 175 characters per line
EXISTS Pass the value 1

description

model

name

CONTAINS_ANY, NOT_CONTAINS_ALL Max 50 lines, max 175 characters per line
url EQUALS,CONTAINS_ANY, NOT_CONTAINS_ALL Max 50 lines, max 175 characters per line

oldprice

price

GREATER_THAN, LESS_THAN Single number, up to 2 decimal places
EQUALS_ANY Max 50 numbers, up to 2 decimal places
RANGE Max 10 ranges, up to 2 decimal places. See the example.
EXISTS Pass the value 1

adult

manufacturer_warranty

pickup

store

EQUALS_ANY Acceptable values:
  • 0
  • 1
EXISTS Pass the value 1
age EQUALS_ANY Acceptable values: integer from 0 to 12, 16, or 18.
EXISTS Pass the value 1
Hotels: Google Ads "Hotels and rentals" feed
Feed field Operators Restrictions on values
Rsis GREATER_THAN, LESS_THAN Single number, up to 2 decimal places
EQUALS_ANY Max 50 numbers, up to 2 decimal places
RANGE Max 10 ranges, up to 2 decimal places. See the example.

Description

max_score

name

location

url

CONTAINS_ANY, NOT_CONTAINS_ALL Max 50 lines, max 175 characters per line
class EQUALS_ANY

Acceptable values:

  • 1
  • 2
  • 3
  • 4
  • 5
EXISTS Pass the value 1

OfferID

Score

GREATER_THAN, LESS_THAN Single integer
EQUALS_ANY Max 50 integers
RANGE Max 10 ranges or integers. See the example.
Feed field Operators Restrictions on values
Rsis GREATER_THAN, LESS_THAN Single number, up to 2 decimal places
EQUALS_ANY Max 50 numbers, up to 2 decimal places
RANGE Max 10 ranges, up to 2 decimal places. See the example.

Description

max_score

name

location

url

CONTAINS_ANY, NOT_CONTAINS_ALL Max 50 lines, max 175 characters per line
class EQUALS_ANY

Acceptable values:

  • 1
  • 2
  • 3
  • 4
  • 5
EXISTS Pass the value 1

OfferID

Score