Market for partners

Description of YML

YML (Yandex Market Language) is a standard developed by Yandex for receiving and publishing information in the Yandex.Market database. YML is based on the XML standard (XML DTD). It has a unified data format that allows fast, accurate processing of information provided by stores about products and services.

Set up a data export for products and services from your databases to a YML file, or use a CMS with a built-in feature for exporting data to YML format. Put this file on your store's website at the URL that you specify during registration. The YML file is regularly downloaded by a robot and the updated data is imported to the Yandex.Market database.

You can download the XML DTD for the YML file at: http://partner.market.yandex.ru/pages/help/shops.dtd. A template for the YML file is available at: http://partner.market.yandex.ru/pages/help/YML.xml.

You can find tag descriptions and examples in the section Examples and descriptions.

To quickly and easily prepare a YML file and upload the data to Market, follow the guidelines below.

General requirements for a YML file

  1. The YML standard is sensitive to the order of elements, so it is important to follow the order given in the templates shops.dtd and YML.xml and the examples. This is a requirement of the XML DTD standard.

  2. The YML standard does not allow textual data that uses nonprintable characters with ASCII codes in the range from 0 to 31 (with the exception of characters with codes 9, 10, and 13 — tab, new line, and carriage return). This requires replacing certain characters with their equivalent codes:

    Symbol in text

    Code for the YML file

    "

    "

    &

    &

    >

    >

    <

    <

    '

    '

    The URL of the ad in the feed must be encoded according to the RFC-1738 standard.

For more information about transmitting data to Yandex.Market, see the section Requirements for the Data Transmission Method.

Rate this article
Thank you for your feedback!