YML feed requirements

Goods list

General requirements for product feeds:

  • Each product must have a unique ID.

  • The IDs of the same product must be the same in different feeds, even when the feeds have different types. For example, the same product should have the same ID in your Yandex Market and Google Shopping feeds both.

To learn more about YML feeds with Yandex Market products, see Yandex Market Help.

Any XML document may contain only one root element. The YML format uses the <yml_catalog> element as the root element. The date attribute of the <yml_catalog> element should match the date and time when the YML file was generated on the client's side. The date must be in YYYY-MM-DD hh:mm format.

The <offers> element specifies the list of products. Each product offering is described in a separate <offer>element. Add the <currencies> and <categories> elements in the <shop> element before the list of product offers. To learn more about elements included in <shop>, see Yandex Market Help.

Offer description types

There are two types of offer description: simplified and custom. These description types differ only in how you pass the product name:

  • In simplified offers, the product name is passed in a single <name> element.
  • In custom offers, the product name is passed in three elements: <typePrefix>, <vendor>, and <model>.

You can also use a combined description type and use elements from both the simplified and custom types. The advantage here is that you have more elements for generating a relevant ad.

Simplified type

Custom type

Combined type

  • <name>Smartphone Samsung Galaxy S22 Ultra 8/128 GB, blue</name>
  • <typePrefix>Smartphone</typePrefix>
  • <vendor>Samsung</vendor>
  • <model>Galaxy S22 Ultra 8/128 GB, blue</model>
  • <name>Smartphone Samsung Galaxy S22 Ultra 8/128 GB, blue</name>
  • <typePrefix>Smartphone</typePrefix>
  • <vendor>Samsung</vendor>
  • <model>Galaxy S22 Ultra 8/128 GB, blue</model>

Simplified and custom offers can coexist within the same feed.

Offer examples

This is the basic, simpler type of description.

Example:

  <offer id="0123456" available="true">
    <url>http://www.worldsbestpcs.com/catalog/element/index.php?from=ya_market&utm_source=ya_market&utm_medium=cpc</url>
    <price>1620.00</price>
    <oldprice>1800.00</oldprice>
    <currencyId>RUB</currencyId>
    <categoryId>19</categoryId>
    <picture>http://89.123.45.678/catalog/photo/19/6.JPG</picture>
    <picture>http://89.123.45.678/catalog/photo/19/7.JPG</picture>
    <store>false</store>
    <pickup>true</pickup>
    <delivery>false</delivery>
    <name>ESET NOD32 Antivirus Platinum Edition</name>
    <vendor>Eset</vendor>
    <vendorCode>NOD32-ENA-NS(BOX)-2-1</vendorCode>
    <description>ESET NOD32 Antivirus Platinum Edition — 2-year license — NOD32-ENA-NS(BOX)-2-1</description>
    <video>http://89.123.45.678/catalog/video/19/6.MP4</video>
    <sales_notes>Pay by cash, bank transfer, credit or debit card, or apply for financing</sales_notes>
    <manufacturer_warranty>true</manufacturer_warranty>
    <country_of_origin>Russia</country_of_origin>
    <age unit="year">18</age>
    <property name="Operating system">Windows</property>
  </offer>

This type of description is practical and versatile. It's recommended you use it for describing products in most categories.

Example:

  <offer id="1234567" type="vendor.model" available="true">
    <url>http://www.worldsbestpcs.com/catalog/element/index.php?from=ya_market&utm_source=ya_market&utm_medium=cpc</url>
    <price>889.00</price>
    <oldprice>17000.00</oldprice>
    <currencyId>RUR</currencyId>
    <categoryId>1111</categoryId>
    <picture>http://89.123.45.678/catalog/photo/19/6.JPG</picture>
    <picture>http://89.123.45.678/catalog/photo/19/7.JPG</picture>
    <store>false</store>
    <pickup>false</pickup>
    <delivery>true</delivery>
    <typePrefix>Printer</typePrefix>
    <vendor>HP</vendor>
    <model>Deskjet D2663</model>
    <description>Explore a series of reliable, easy-to-use color printers designed for everyday printing needs...</description>
    <sales_notes>Online payment.</sales_notes>
    <manufacturer_warranty>true</manufacturer_warranty>
    <country_of_origin>Japan</country_of_origin>
    <property name="Paper size">A4, A5</property>
  </offer>

Attributes of the <offer> element

The type attribute can have only one value — "vendor.model", — which means that the offer is custom.

  • Custom type: <offer id="1234567" type="vendor.model" available="true">
  • Simplified type: <offer id="0123456" available="true">

The type attribute determines which elements will be checked by the Yandex Direct robot when the feed is uploaded:

  • If you don't pass the type attribute, the offer will be simplified. The robot also checks for the <name> element. If it's missing, the offer is ignored and ads for the product aren't generated.

  • If you pass the type attribute, the offer will be custom. Remember to specify the <vendor> and <model> elements. If they're missing, an error occurs, the offer is ignored, and the ads aren't generated.

    Attribute

    Description

    Can be used for filter setup

    Required element

    id

    Product ID.

    The IDs for each product must be unique.

    Check that the e-commerce product IDs match the offer ids specified in the feed. This is required for offer retargeting impressions in YAN. Offer retargeting is only available for promoting products from sites.

    The ID value can consist of numbers, letters, or a combination of both. It may contain characters. The maximum length is 100 characters.

    Tip

    If you plan to set up a filter, use only numeric ID values.

    Example
    • 18295
    • 1223abc
    • a12b34fq

    yes

    yes

    type

    Product offering description type.

    The value must be vendor.model.

    If you pass the type attribute, this indicates you're using a custom description type. Yandex Direct checks for the <vendor> and <model> elements. If they are missing, the offer is ignored and product ads aren't generated.

    no

    for a custom description type

    available

    Availability of product:

    true: Product in stock; false: Product out of stock.

    By default, Yandex Direct assumes that all products present in the feed are in stock. If your feed includes out-of-stock items, you need to specify the available attribute for each offer. This allows filtering out offers when generating ads.

    The product availability information in the feed should match that on the landing page and checkout pages.

    yes

    required if the filter by product availability is used

Child elements of <offer> element

Element

Description

Can be used for filter setup

Required element

name

Product offering name

It's recommended that names of simplified offers include the manufacturer's name and code, as well as key offer features that the user may think important.

To create product names, you can use a universal formula: WHAT + WHO + MODEL and MODIFICATION, where:

  • “WHAT” is a category (type) or subcategory of the product;
  • “WHO” is the manufacturer, brand, or trademark;
  • “MODEL” is the product name, series, collection, or SKU.
  • “MODIFICATION” is the key product characteristics.

To ensure that Yandex Direct creates ads correctly, the product name should match the contents on the landing page.

The name shouldn't contain promotional text, such as “free delivery”. You also can't use all caps or special characters to attract user attention.

Example
  • <name>Smartphone Samsung Galaxy S22 Ultra 8/128 GB, blue</name>
  • <name>NOW — B-50 vitamin complex, 100 capsules</name>
  • <name>Long fitted knit black strapless dress</name>
  • <name>Loft Yellow Sofa with convertible mechanism by Monolith Factory</name>

yes

For a simplified type

typePrefix

Product type / category.

Specify the type of product based on how it's presented by the manufacturer. For example, “mobile phone”, “washing machine”, or “corner sofa”. Avoid using overly generic product type descriptions and ambiguous words.

Example
  • Adidas sneakers (VLNEO) V RACER NYLON

    <typePrefix>Sneakers</typePrefix>

  • Smartphone Apple iPhone 15 Pro 1TB Natural Titanium

    <typePrefix>Smartphone</typePrefix>

yes

for a free-form type

vendor

Manufacturer or brand (trademark). Providing the correct brand name is key for providing a good user experience and boosting sales.

Specify your own brand only if you sell own products or non-branded products of other manufacturers.

Example
  • Adidas sneakers (VLNEO) V RACER NYLON

    <vendor>Adidas</vendor>

  • Smartphone Apple iPhone 15 Pro 1TB Natural Titanium

    <vendor>Apple</vendor>

yes

for a free-form type

model

Model and key parameters (for example, name, model index, special modification features, and others).

Example
  • Adidas sneakers (VLNEO) V RACER NYLON

    <model>(VLNEO) V RACER NYLON</model>

  • Smartphone Apple iPhone 15 Pro 1TB Natural Titanium

    <model>iPhone 15 Pro 1TB Natural Titanium</model>

yes

for a free-form type

categoryId

Product category ID assigned by the user (a positive integer of no more than 18 characters). The product offering can belong to only one category.

Example

<categoryId>12345</categoryId>

yes

yes

The <offer> element can only contain one <categoryId> element.

url

Product page URL for site promotion.

Maximum link length: 2048 characters. You can use links in Cyrillic. (We recommend converting links in Cyrillic characters using Punycode). The URL format follows the RFC 3986 standard.

Example
  • <url>https://www.example.ru/myagkaya-mebel/loft-ellou/</url>
  • <url>https://www.example.ru/myagkaya-mebel/loft-ellou/?product_id=351354&product_category_id=79&category_name=divan</url>
How to encode characters in a URL?

Symbol in text

Code for YML file

"

&quot;

&

&amp;

>

&gt;

<

&lt;

'

&apos;

URLs must not contain spaces. Replace spaces with %20.

yes

yes

picture

Image link.

We recommend adding five images to the feed. For example, images of the product shown from different angles or in different interiors. The product should occupy at least 2/3 of the entire image area.

In the Yandex Advertising Network, a single-product banner can be displayed as a carousel. For formats that support only one image, the first image is used if its width and height are greater than or equal to those of an ad unit. If the first image doesn't fit these requirements, the next one is considered for placement.

Product images should have a white background with a white frame of at least one pixel, without text and bright fonts. The image URL should include the http or https prefix.

Technical requirements:

  • Pixel size: 450 or more on each side.
  • Format: JPG, PNG, WEBP, or GIF.
  • Maximum file size: 10 MB.
How do I change the image in the ad?

For the Yandex robot to update the product image in ads, change its link in the feed​. For example:

  • Link to the current image: <picture>https://ikea.ru/images/1.png</picture>
  • Link to the new image: <picture>https://ikea.ru/images/1-new.png</picture>

no

  • For product ads in a unified performance campaign.
  • For impressions in the product gallery.

description

Product offer description.

Provide a detailed description of important product characteristics that users base their choice on.

The description must not contain promotional text, such as “free delivery”, links to the site of the store, sales details, or information about competitors or other products, and their accessories.

Example

<description>A one-sided medium firmness mattress with an EVS 500 independent springs block. Fillers: PU foam and latex coconut coir. Size: 90 x 195 cm, height: 17 cm. Maximum weight per sleeping space: 100 kg.</description>

yes

no

sales_notes

Order information:

  • minimum order price, minimum product quantity, required prepayment.
  • payment options, descriptions of promotions and sales.
Example
  • <sales_notes>Cash, MIR, Visa/Mastercard, non-cash payment</sales_notes>
  • <sales_notes>Prepayment required</sales_notes>
  • <sales_notes>Up to 60% off</sales_notes>

no

no

param

Specifying product characteristics and parameters.

The name attribute must include the parameter name.

When matching queries, Yandex Direct factors in four types of param values: material, color, gender, and size. If you manage ad titles and texts manually, then param values don't affect ad generation. If you're using automatic generation, then several text variants are generated based on the offer elements, including param.

If the manufacturer uses custom color names — for example, mineral purple, — you should also provide the commonly accepted name for this color.

Example
  • Color:

    <param name="Цвет">gray</param>

    <param name="Color">gray</param>

  • Material:

    <param name="Материал">aluminium</param>

    <param name="Material">titanium</param>

  • Size (clothing):

    <param name="Size" unit="INT">S</param>

    <param name="Size" unit="RU">40</param>

    When passing the size, be sure to specify the size chart: RU, EU, US, INT — international size designations (for clothes: XS, S, M, L, XL, XXL, 2XL, etc.; for bras: AA, A, B, C, etc.).

  • Dimensions:

    <param name="Width" unit="cm">180</param>

    <param name="Depth" unit="cm">70</param>

    <param name="Height" unit="cm">90</param>

    You can pass product dimensions using width, depth, height, and diameter. Be sure to specify the units of measurement: mm, cm, or m.

  • Gender:

    <param name="Gender">female</param>

    For example:

    female, for women

    male, for men

    unisex, for men and women

no

no

price

The price at which this product is being offered.

Format: whole or decimal number.

The separator between the whole and decimal parts must be a dot.

The price must match the product price shown on the site and can't be zero.

This element is recommended for unified performance campaigns.

Example
  • <price>1760</price>
  • <price>1760</price>

yes

For impressions in the product gallery

oldprice

The old product price, which must be higher than the new price (price).

Format: whole or decimal number.

The separator between the whole and decimal parts must be a dot.

The price must not equal zero.

Your site should show both the old price and the current price.

You can display discounts in your ads if the feed includes the price and oldprice tags, and the difference between them is at least 5%.

Example
  • <price>1760</price>

    <oldprice>1800</oldprice>

  • We don't show the discount amount because the difference between price and oldprice is less than 5%:

    <price>1760</price>

    <oldprice>1800</oldprice>

yes

no

currencyId

Currency code.

Supported values

RUR, RUB, USD, EUR, UAH, KZT, BYN, GBP, TRY, ALL, AFN, ARS, AWG, AUD, AZN, BBD, BZD, BMD, BOB, BAM, BWP, BGN, BRL, BND, KHR, CAD, KYD, CLP, CNY, COP, CRC, HRK, CUP, CZK, DKK, DOP, XCD, EGP, SVC, FKP, FJD, GHS, GIP, GTQ, GYD, HNL, HKD, HUF, ISK, INR, IDR, IRR, ILS, JMD, JPY, KPW, KRW, KGS, LAK, LBP, LRD, MKD, MYR, MUR, MXN, MNT, MAD, MZN, NAD, NPR, ANG, NZD, NIO, NGN, NOK, OMR, PKR, PAB, PYG, PEN, PHP, PLN, QAR, RON, SHP, SAR, RSD, SCR, SGD, SBD, SOS, ZAR, LKR, SEK, CHF, SRD, SYP, TWD, THB, TTD, AED, UYU, UZS, VEF, VND, YER, MDL, TJS, GEL, AMD, BHD, KWD.

no

if the price element is present

video

Link to product video.

Please provide an MP4 video up to 45 seconds long, that also meets other technical requirements.

Note

If the video is hosted on a platform that uses the HTTP protocol, it won't be served on resources using the HTTPS protocol.

The video should be filmed using a stable camera.

Content recommendations:

  • Talk about your product rather than your brand.
  • Avoid excessive text, vignettes, and blurring. Do not create an illusion that the video provides buttons or sound controls.
  • Demonstrate your product and the benefits of your offer in the first frame of your video.
  • Brand your videos: make sure the company's logo is visible.

Make individual videos for each product: this will make sure they match your ad title and text. You can only have one video per product.

Impressions only in YAN.

Example

<video>http://example.ru/catalog/video/19/6.MP4</video>

no

no

vendorCode

Product code (enter the vendor code).

Example

<vendorCode>A4068LM-12SG</vendorCode>

no

no

market_category

Product category where the item should be listed on Yandex Market.

yes

no

store

Product available in retail stores:

  • yes, 1, +, true — This product is available in stores.
  • no, 0, −, false — This product isn't available in stores.

yes

no

pickup

Customer pickup from delivery point:

  • yes, 1, +, true — This product is available for pickup.
  • no, 0, −, false — This product isn't available for pickup.

yes

no

delivery

Delivery by courier:

  • yes, 1, +, true — Courier delivery is available;
  • no, 0, −, false — Courier delivery isn't available.

no

no

manufacturer_warranty

Official warranty:

  • yes, 1, +, true — This product comes with an official warranty.
  • no, 0, −, false — This product doesn't come with an official warranty.

yes

no

country_of_origin

Country of origin.

Example
  • <country_of_origin>Russia</country_of_origin>
  • <country_of_origin>Belarus</country_of_origin>
  • <country_of_origin>Vietnam</country_of_origin>

no

no

age

Product age category.

A non-negative integer with or without the + prefix. If you use +, be sure to place it before the number.

We recommend specifying this element if the product is intended for certain age groups.

Example
  • <age>+6</age>
  • <age>18</age>

yes

no

adult

This product belongs to the “adult” category:

  • yes, 1, +, true — Yes.
  • no, 0, −, false — No.

yes

no

downloadable

Product download:

  • yes, 1, +, true — This product is available for download.
  • no, 0, −, false — This product isn't available for download.

no

no

collectionId

To serve ads in a combined format (catalog and product ads in a product ad), pass the link between the product and the catalog. The value equals <collection id> in the <collections> element.

The value can consist of numbers, letters, or a combination of both.

One <offer> can contain several <collectionIds>.

yes

recommended if the feed has <collections>.

  • custom_label_0
  • custom_label_0
  • custom_label_0
  • custom_label_0
  • custom_label_0

Custom elements. Free-form description. Latin and Cyrillic characters and numbers. The element length can be up to 175 characters.

You can only use custom feed elements to create filters for unified performance campaigns. They don't affect the way creatives are generated. These filters are used for offer segmentation by specific parameters with no standard filters available. For instance, for e-commerce, you can set a filter by whether a product is part of a certain promotion.

yes

no

custom_score

Custom element. Value: 0 or any positive integer.

You can only use custom feed elements to create filters for unified performance campaigns. They don't affect the way creatives are generated. These filters are used for offer segmentation by specific parameters with no standard filters available. For instance, for e-commerce, you can set a filter by an offer's profit margin.

yes

no

Property name

Product specifications, such as TV screen size, clothing color, and payment terms. You can add up to 10 specs.

When listing product specs, focus on details that help customers make a buying decision.

Specs appear only in product gallery ads when our system predicts they can help improve the chances of an ad click and lead to a conversion. Your ad may feature specs from your feed, details found on your site, or data from matching products in other online stores. Read more about product specs.

Example

<property name="Control type">touch</property>

no

no

Catalogs

In a YML feed, you can transmit information about product catalogs. In the tree structure, the <collections> element comes after the <offers> element.

Unified performance campaigns use catalog information only to promote sites. If you're promoting a mobile app, there won't be any impressions.

Example of product sales feed:

  <?xml version="1.0" encoding="utf-8"?>
  <yml_catalog>
    <shop>

      <categories> ... </categories>
      <offers>
        <offer>...
          <collectionId>fragrances1</collectionId>
          <collectionId>cosmetics2</collectionId>
        </offer>
        <offer> ... </offer>
      </offers>

      <collections>
        <collection id="fragrances1">
          <url>https://example.com/catalog/fragrances</url>
          <picture>https://example.com/img/1.jpg</picture>
          <picture>https://example.com/img/2.jpg</picture>
          <name>Men's fragrances at Example</name>
          <description>Men's fragrances: Bring out your style </description>
        </collection>
        <collection id="cosmetics2">
          <url>https://example.com/catalog/cosmetics</url>
          <picture>https://example.com/img/3.jpg</picture>
          <picture>https://example.com/img/4.jpg</picture>
          <name>Shaving essentials at Example</name>
          <description>Shaving products: Effortless daily care</description>
        </collection>
      </collections>

    </shop>
  </yml_catalog>

Child elements of the <collections> element

Element

Description

Required element

collection id

Unique catalog ID. Maximum length: 60 characters. The value can be numeric, alphabetic, or alphanumeric.

The IDs for each catalog must be unique.

yes

url

URL of the catalog page.

Maximum link length: 2048 characters. You can use links in Cyrillic. (We recommend converting links in Cyrillic characters using Punycode). The URL format follows the RFC 3986 standard.

The URL must specify the http or https protocol.

How to encode characters in a URL?

Symbol in text

Code for YML file

"

&quot;

&

&amp;

>

&gt;

<

&lt;

'

&apos;

URLs must not contain spaces. Replace spaces with %20.

yes

picture

Image link.

You can add multiple image links, each in its own picture element.

How do I change the image in the ad?

For the Yandex robot to update the catalog image in ads, change its link in the feed. For example:

  • Link to the current image: <picture>https://ikea.ru/images/1.png</picture>
  • Link to the new image: <picture>https://ikea.ru/images/1-new.png</picture>

for impressions in the Yandex Advertising Network and the product gallery

name

Catalog name.

yes

description

Catalog description.

no

1C-Bitrix users can quickly generate a feed with catalog pages by following the instructions.

If you work with the InSales platform and have set up automatic feed updates, catalog info will be automatically added to it, with no additional actions required on your part. You can also create a feed with catalogs using a custom export to Yandex Market by following the instructions.

If you're using HostCMS, you can follow this guide to enable feed export with catalog pages. See Collections for details.

Education

Prepare a feed in YML format with information about online courses and lessons. Describe each course using a separate <offer> element.

When you create a product ad from this feed, the ad title and text are generated automatically.

Sample feed for educational services:

<?xml version="1.0" encoding="utf-8"?>
<yml_catalog date="2026-09-25 12:00">
  <shop>
    <name>Coding School</name>
    <company>Example LLC</company>
    <url>https://example.org/</url>
    <email>courses@example.org</email>
    <currencies>
      <currency id="RUR" rate="1"/>
    </currencies>
    <categories>
      <category id="104">Python</category>
    </categories>
    <offers>
      <offer id="python-basic">
        <name>Python for Beginners</name>
        <url>https://example.org/courses/python-basic</url>
        <categoryId>104</categoryId>
        <price>30000</price>
        <currencyId>RUR</currencyId>
        <picture>https://example.org/images/python-basic.jpg</picture>
        <description>Python basics, data handling, and a capstone project.</description>
        <param name="Продолжительность" unit="месяц">3</param>
        <param name="План" order="1" unit="Основы языка" hours="24">Variables, conditionals, loops, and functions.</param>
        <param name="План" order="2" unit="Работа с данными" hours="24">Collections, files, and data processing.</param>
        <param name="План" order="3" unit="Итоговый проект" hours="24">Building and presenting your final project.</param>
        <param name="Формат обучения">Самостоятельно с наставником</param>
        <param name="Сложность">Для новичков</param>
        <param name="Тип обучения">Курс</param>
        <param name="Есть домашние работы">true</param>
        <param name="Результат обучения">Сертификат</param>
        <param name="Часы в неделю">6</param>
      </offer>
    </offers>
  </shop>
</yml_catalog>

Feed structure

The root element is <yml_catalog>. It contains a <shop> group with platform details and an <offers> section featuring course offers.

A <categories> group containing offer categories is added before <offers>. Each offer must include a <categoryId> that matches an identifier from this section. Simply adding a <categoryId> to an offer isn't enough. The file must also include a <categories> section.

Platform details can include <name>, <company>, <url>, and <email>. Yandex Direct doesn't use <picture> and <description> elements at the <shop> level. Pass the course image and description inside the respective <offer> element. If you're using course sets, place the <sets> section before <offers>. For each set, specify:

  • <set id> — set identifier.
  • <name> — name.
  • <url> — link.

Course details

To ensure the educational feed is recognized, add the Продолжительность (Duration) and План (Curriculum) to each offer. Provide the following details for each course:

Attribute

What's passed

name

Course name.

url

Link to the course page.

description

Course description.

picture

Link to the course image.

price

Course price. If you specify a price, use the currencyId attribute to indicate the currency, such as RUR.

param name="Продолжительность"

Non-negative integer. Specify the unit of measurement in the unit attribute:

  • час (hour)
  • день (day)
  • месяц (month)

param name="План"

Description of each learning stage:

  • unit — stage name.
  • hours — duration in hours.
  • order — sequence number.

Note

Don't include offers from different business categories in the same feed.

Additional parameters

Pass the parameters inside the <offer> group within the <param name="…"> elements.

Parameter

Value format

Дополнительная категория

ID of the additional course category.

Ссылка на контент курса

URL of the page with course content. You can pass multiple elements.

  • Цена по скидке
  • Ежемесячная цена
  • Ежемесячная цена по скидке

Non-negative integer.

  • Дата окончания скидки
  • Дата окончания ежемесячной скидки
  • Ближайшая дата

Date in ISO 8601 format — for example, 2026-12-01.

Цена за подписку

Possible values: true or false.

Оплата в рассрочку

The duration of the installment plan as a non-negative integer. Use the unit attribute to specify the time unit, such as месяц (month).

Формат обучения

Learning formats:

  • Самостоятельно (Self-paced).
  • Самостоятельно с наставником (Self-paced with a mentor).
  • В группе с наставником (Group learning with a mentor).
  • С преподавателем (With an instructor).
  • Есть видеоуроки
  • Есть текстовые уроки
  • Есть вебинары
  • Есть домашние работы
  • Есть тренажеры
  • Есть сообщество

Possible values: true or false.

Сложность

Program level:

  • Для новичков (Beginner).
  • Для опытных (Intermediate).

Тип обучения

Курс (Course) or Профессия (Profession).

  • Есть бесплатная часть

  • С трудоустройством

Possible values: true or false.

Результат обучения

Document issued upon completion:

  • Сертификат (Certificate).
  • Диплом (Diploma).
  • Удостоверение (Certificate of completion).

Часы в неделю

Non-negative integer.

Классы

String with school grades — for example, 1,2,5-7,9.

Healthcare

To promote medical services, prepare a YML file. Create a separate offer for each location or appointment type, and include details for a single doctor, clinic, and appointment type in each offer.

When you create a product ad from this feed, the ad title and text are generated automatically.

Sample feed for medical services:

In the example, the <currencies> section is kept for the standard YML structure. Yandex Direct determines the price currency using the <currencyId> element in the offer.

<?xml version="1.0" encoding="UTF-8"?>
<yml_catalog date="2026-09-25 12:00">
  <shop>
    <name>Clinic Name</name>
    <company>Clinic Name LLC</company>
    <url>https://example.com/</url>
    <currencies>
      <currency id="RUR" rate="1"/>
    </currencies>
    <categories>
      <category id="1">Doctor appointments</category>
    </categories>
    <sets>
      <set id="neurologist">
        <name>Neurologist</name>
        <url>https://example.com/doctors/neurology/</url>
      </set>
    </sets>
    <offers>
      <offer id="doctor-1-clinic-1-primary" group_id="doctor-1">
        <name>John Smith</name>
        <url>https://example.com/doctors/smith/</url>
        <price>3000</price>
        <currencyId>RUR</currencyId>
        <sales_notes>Initial consultation</sales_notes>
        <set-ids>neurologist</set-ids>
        <picture>https://example.com/images/smith.jpg</picture>
        <description>Initial neurology consultation at the clinic.</description>
        <categoryId>1</categoryId>
        <param name="Годы опыта">17</param>
        <param name="Город">Moscow</param>
        <param name="Адрес клиники">1 Example St.</param>
        <param name="Название клиники">Clinic Name</param>
      </offer>
    </offers>
  </shop>
</yml_catalog>

Feed structure

The root element of the file is <yml_catalog>. It contains the <shop> group with clinic or service details and <offers>.

A <categories> group containing offer categories is added before <offers>. Each offer includes a <categoryId> to link the respective category.

Doctor specialties are listed in the <sets> group. If you're using this group, place it before <offers>. Each specialty includes:

  • <set id> — specialty ID (you can specify up to 20 IDs separated by commas).
  • <name> — specialty name.
  • <url> — link to the specialty page (if available).

Pass data about a doctor, clinic, and appointment in the <offer> element. Separate <doctors>, <clinics>, and <services> directories aren't used in this format.

Offer details

Attribute

What's passed

offer/@id

Unique identifier for the offer.

offer/@group_id

General ID of the doctor. Use the same ID for all entries about the same doctor.

<name>

The doctor's full name.

<url>

Link to the offer page that users open from the ad. Offers without a valid link won't be processed.

<price>

Appointment price: a number greater than zero. To specify a “starting from” price, add from="true". If you're not passing the price, don't add this element.

<currencyId>

Currency of the price. If you specify the price field, pass the currency code — for example, RUR or RUB (for rubles).

<oldprice>

Previous price (if applicable).

<categoryId>

Category ID from categories.

<sales_notes>

Appointment type.

<set-ids>

Specialty IDs from sets.

<picture>

Link to the doctor's image.

<description>

Description of a doctor or offer.

Note

If an offer includes multiple specialties, Yandex Direct processes each one separately. Because of this, the number of processed offers can be higher than the total number of offer elements in your file.

Parameters used to define a medical feed

Pass the following parameters in every offer, including the first one:

The name of the parameter

Value

Годы опыта

The doctor's professional experience in years: a non-negative integer.

Город

City where the doctor practices.

Адрес клиники

Facility address for appointments.

Название клиники

Facility name for appointments.

<param name="Годы опыта">17</param>
<param name="Город">Moscow</param>
<param name="Адрес клиники">1 Example St.</param>
<param name="Название клиники">Clinic Name</param>

Yandex Direct identifies the medical YML feed subtype from the parameter names. Specify the parameter values and don't include medical offers with other offer types in the same file.

If Yandex Direct detects the first offer as a medical service, subsequent offers lacking the full set of these parameters will be skipped with a warning. If the first offer's subtype is undefined, subsequent offers won't trigger a switch to the medical feed subtype.

Additional parameters

Parameters are passed within <offer> inside <param name="…"> elements. For boolean values, use true or false. For decimals, use a period as a separator.

The name of the parameter

Value format

  • Фамилия
  • Имя
  • Отчество

Enter text.

Начало карьеры

Date in ISO 8601 format — for example, 2005-01-01.

  • Взрослый врач
  • Детский врач

Possible values: true or false.

  • Средняя оценка
  • Профессиональный рейтинг

A number greater than zero.

Число отзывов

Non-negative integer.

Степень

  • Кандидат наук (Russian degree, Candidate of Science)
  • Доктор наук (Doctor of Science)

Звание

  • Профессор (Professor)
  • Доцент (Associate Professor)

Категория

  • Первая категория (First category)
  • Вторая категория (Second category)
  • Высшая категория (Highest category)

Прочие титулы

Other titles. Enter text.

Город клиники

Clinic's city. Enter text.

  • Возможность записи
  • Онлайн-расписание

Possible values: true or false.

Телефон для записи

Booking phone number. Enter text.

  • Внутренний идентификатор врача
  • Внутренний идентификатор клиники
  • Внутренний идентификатор услуги

Text IDs.

  • Прием по омс
  • Вызов на дом
  • Прием по видеосвязи

Possible values: true or false.

Use composite parameters for education, workplaces, certificates, and reviews. The number following the hyphen (-) groups fields for a single entry, while the unit attribute specifies the field:

<param name="Образование - 1" unit="Организация">Medical University Example</param>
<param name="Образование - 1" unit="Дата">2009</param>
<param name="Образование - 1" unit="Название">Базовое образование</param>
<param name="Образование - 1" unit="Специализация">Лечебное дело</param>

Group

The name of the parameter

Format

Образование - N

  • Организация
  • Дата
  • Название
  • Специализация

Enter text.

Место работы - N

  • Организация
  • Дата
  • Название

Enter text.

Сертификат - N

  • Организация
  • Дата
  • Название

Enter text.

Отзыв - N

  • Автор (Author)
  • Идентификатор автора (Author ID)
  • Аватар автора (Author's profile picture)
  • Дата (Date)
  • Отзыв проверен (Verified review)
  • Отзыв участвует в рейтинге (This review counts toward rating)
  • Оценка (Rating)
  • Понравилось (Like)
  • Не понравилось (Dislike)
  • Комментарий (Comment)
  • Ответ (Response)
  • Ссылка (Link)

Enter text in all fields except for these ones:

  • Аватар автора — link to an image.
  • Ссылка — review URL.
  • Отзыв проверен — enter true or false.
  • Отзыв участвует в рейтинге — enter true or false.
  • Оценка — non-negative integer.

Have questions?

Alert

Our customer service department can only help you with the campaigns created under the same username you use to contact us. You can check your username by opening ya.ru in another browser tab. Our team can access your data only when processing your request.

Scan the QR code or tap it to follow the link.

If you choose Telegram or WhatsApp, keep in mind that Yandex doesn't control and takes no responsibility for how third-party messaging apps store your chats and data.

Call

You can contact us from 10:00 to 19:00 (UTC+3) by phone:

Moscow: +7 495 139-91-93

Russian regions: 8 (800) 700-47-45 (toll-free within Russia)

To access campaigns, the customer service specialist will need your PIN.

Leave a message