{"id":1643,"date":"2020-12-16T09:51:41","date_gmt":"2020-12-16T06:51:41","guid":{"rendered":"https:\/\/www.microimpuls.com\/docs\/smarty\/configuring-and-management\/%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-%d1%80%d0%b5%d0%ba%d0%bb%d0%b0%d0%bc%d1%8b"},"modified":"2026-02-06T09:16:19","modified_gmt":"2026-02-06T06:16:19","slug":"ads","status":"publish","type":"docs","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/ads","title":{"rendered":"Advertising settings"},"content":{"rendered":"<p>Advertising on the Smarty platform currently consists of pre-roll interactive content and banner ads. <\/p>\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Prerolls<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Advertising entities<\/h3>\n\n\n\n<p><strong>Commercial<\/strong> \u2014 a video file that will be played as a preroll in the operator service.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1258\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2020-12-16-\u0432-12.04.14.png\" alt=\"\" class=\"wp-image-1646\"\/><figcaption class=\"wp-element-caption\">Form of creating a commercial<\/figcaption><\/figure>\n\n\n\n<p><strong>Advertising block<\/strong> \u2014 a set of configuration parameters for the display of commercials. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"673\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/05\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2022-05-25-\u0432-19.03.14.png\" alt=\"\" class=\"wp-image-2816\"\/><figcaption class=\"wp-element-caption\">Form of creating an advertising block<\/figcaption><\/figure>\n\n\n\n<p><strong>Advertising provider<\/strong> &amp;# 8212; an external system for providing commercials, independently determining the queue and frequency of commercials for certain channels.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to set up advertising<\/h3>\n\n\n\n<p>Advertising can be enabled using the option: <code>TVMIDDLEWARE_ADS_ENABLED<\/code>. You can also additionally configure the time interval of the frequency of the display of the advertising block with the option <code>ADS_BLOCK_FREQUENCY_INTERVAL<\/code> (Tab \u00abShow settings\u00bb, field \u00abMaximum block display frequency for one account\u00bb). The value is specified in seconds and by default has a value <strong>3600<\/strong> (1 hour).<\/p>\n\n\n\n<p>The maximum number of returned advertising blocks depends on the value of the option <code>ADS_BLOCK_MAX_AMOUNT<\/code> by default <strong>5<\/strong>). When using a restriction, you need to take into account the priority of advertising blocks, since at the beginning of the list there will always be blocks with the highest priority for display.<\/p>\n\n\n\n<p>Options are connected in the Smarty configuration file (default path) <code>\/etc\/microimpuls\/smarty\/smarty.py<\/code>, more about the options in the section \u00abConfiguration and maintenance Smarty\u00bb \u2014 \u00abSystem settings\u00bb. After that, you need to restart the Smarty team <code>service uwsgi restart<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Warehouse of the history of watching commercials<\/h3>\n\n\n\n<p>Starting with the version <strong>Smarty 1.94<\/strong> the number of views of ad units is stored in a redis cache (previously this information was stored in MongoDB). In connection with this change, it became possible to clear the history of viewing advertising videos with the help of a service team:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>smarty_manage clean_old_ads<\/code><\/pre>\n\n\n\n<p>you can also use a team<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>smarty_manage flushall<\/code><\/pre>\n\n\n\n<p>But in this case, in order to avoid inadvertent cleaning of this information, it is recommended to add the configuration of the protected cache &amp; # 8212; if there is no array in the configuration file <code>CACHES<\/code>this item can be skipped, otherwise it is worth checking whether it contains configuration parameters for the parameter <code>\"protected.\"<\/code>. Configured by analogy with <code>\"default\"<\/code> (the address must be different), for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CACHES = {\n\"default\":\n\"Backend\": \"core.cache.backends.RedisCache,\"\n\u201cLOCATION\u201d: \u201credis:\/\/ 127.0.0.1:6379\/1),\n\"OPTIONS\":\n'Pickle_VERSION': 2\n}\n}\n\"protected\":\n\"Backend\": \"core.cache.backends.RedisCache,\"\n\u201cLOCATION\u201d: \u201credis:\/\/ 127.0.0.1:6379\/2),\n\"OPTIONS\":\n'Pickle_VERSION': 2\n}\n}\n}<\/code><\/pre>\n\n\n\n<p>The browsing records will be stored primarily in the protected part of the cache, in order to avoid accidental removal.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Internal advertising<\/strong> <\/h3>\n\n\n\n<p>1. Create commercials that need to be shown to subscribers.<\/p>\n\n\n\n<p>2. Create an advertising block by setting the following parameters for it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the days of the week and the time of day in which you need to show the videos;<\/li>\n\n\n\n<li>the number of impressions of the advertising block per day per subscriber;<\/li>\n\n\n\n<li>note the channels for which prerolls are to be launched;<\/li>\n\n\n\n<li>note the tariff packages that must be connected to the subscriber in order to display the rollers;<\/li>\n\n\n\n<li>tariff packages, the presence of which the subscriber excludes the display of advertising for him.<\/li>\n\n\n\n<li>choose the type of advertising provider \u00abSmarty\u00bb and mark the commercials included in this ad unit.  <\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Advertising from an external AdStream provider<\/strong><\/h3>\n\n\n\n<p>1. Create an advertising provider object using the External Ad Provider object in the administration service panel (key is requested from an external provider):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1252\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2020-12-16-\u0432-18.26.24.png\" alt=\"\" class=\"wp-image-1648\"\/><figcaption class=\"wp-element-caption\">Form of creating an advertising provider<\/figcaption><\/figure>\n\n\n\n<p>2. Create an ad unit on the same principle as for internal advertising, but choosing the created advertising provider.<\/p>\n\n\n\n<p>3. Prescribe a host for caching commercials using the option <code><a href=\"https:\/\/micro.im\/docs\/smarty\/configuring-and-management\/smarty-config#\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438-\u0440\u0435\u043a\u043b\u0430\u043c\u044b\" data-type=\"URL\" data-id=\"https:\/\/micro.im\/docs\/smarty\/configuring-and-management\/smarty-config#\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438-\u0440\u0435\u043a\u043b\u0430\u043c\u044b\">ADS_ADSTREAM_HOST_REPLACE<\/a><\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Advertising from external provider Qvol<\/strong><\/h3>\n\n\n\n<p>1. Create an advertising provider object using the External Ad Provider object in the administration service panel (the API domain is requested from the advertising provider or manager from Microimpuls).<\/p>\n\n\n\n<p>2. Create an ad unit on the same principle as for internal advertising, but choosing the created advertising provider.<\/p>\n\n\n\n<p>3. Set up the option <code><a href=\"https:\/\/micro.im\/docs\/smarty\/configuring-and-management\/smarty-config#\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438-\u0440\u0435\u043a\u043b\u0430\u043c\u044b\" data-type=\"URL\" data-id=\"https:\/\/micro.im\/docs\/smarty\/configuring-and-management\/smarty-config#\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438-\u0440\u0435\u043a\u043b\u0430\u043c\u044b\">ADS_EPG_USE_CATEGORIES_AS_GENRES<\/a><\/code> to indicate what to send to the provider about the current transfer: genre or category.<\/p>\n\n\n\n<p>4. Prescribe a host for caching commercials using the option <code><a href=\"https:\/\/micro.im\/docs\/smarty\/configuring-and-management\/smarty-config#\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438-\u0440\u0435\u043a\u043b\u0430\u043c\u044b\" data-type=\"URL\" data-id=\"https:\/\/micro.im\/docs\/smarty\/configuring-and-management\/smarty-config#\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438-\u0440\u0435\u043a\u043b\u0430\u043c\u044b\">ADS_QVOL_HOST_REPLACE<\/a><\/code> (if necessary, the videos can also be broadcast directly from the provider).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Banner advertisements<\/h2>\n\n\n\n<p>Conceptually advertising banners \u2014 this is a mechanism for displaying advertising images with text and a transition to action button that can be targeted to a particular audience within the subscriber base.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Adjustment in adminka<\/h3>\n\n\n\n<p>Advertising banners are configured in the administration panel in the section \u00abContent settings\u00bb -&gt; \u00abAdvertising banners\u00bb.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"234\" src=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-02-05-\u0432-20.17.49-700x234.png\" alt=\"\" class=\"wp-image-8785\" srcset=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-02-05-\u0432-20.17.49-700x234.png 700w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-02-05-\u0432-20.17.49-250x84.png 250w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-02-05-\u0432-20.17.49-768x257.png 768w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-02-05-\u0432-20.17.49-1536x514.png 1536w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-02-05-\u0432-20.17.49-2048x685.png 2048w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-02-05-\u0432-20.17.49-18x6.png 18w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-02-05-\u0432-20.17.49-120x40.png 120w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Banner<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"196\" src=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png\" alt=\"\" class=\"wp-image-8786\" srcset=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png 700w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-250x70.png 250w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-768x216.png 768w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-1536x431.png 1536w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-2048x575.png 2048w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-18x5.png 18w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-120x34.png 120w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Name (mandatory) \u2014 service field, not shown to the subscriber.<\/li>\n\n\n\n<li>Image \u2014 image file for banner advertising.<\/li>\n\n\n\n<li>Text mask \u2014 a message that will be shown along with the banner ad (location depending on the interface). The message can be targeted by variables.<\/li>\n\n\n\n<li><a href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/deeplinks\/\">Diplinck<\/a> \u2014 action for the button located on the advertising banner (the availability of such depends on the interface). <\/li>\n\n\n\n<li>Additional attributes \u2014 optional option to set additional fields to banner ads (depending on the interface).<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Audience<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"296\" src=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-1-700x296.png\" alt=\"\" class=\"wp-image-8789\" srcset=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-1-700x296.png 700w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-1-250x106.png 250w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-1-768x325.png 768w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-1-1536x649.png 1536w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-1-2048x866.png 2048w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-1-18x8.png 18w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-1-120x51.png 120w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p><strong>Filters<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Tariff packages \u2014 if you note the tariffs, the banner will be shown only to those subscribers who have at least one of the marked tariffs connected. If no tariff is marked, the tariff filter will be ignored.<\/li>\n\n\n\n<li>Available in cities \u2014 filter by <a href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/geo\/\">geolocation<\/a> subscriber. If no city is listed, the city filter will be ignored.<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<p><strong>List of accounts<\/strong> (priority than filters):<\/p>\n\n\n\n<p>In the subsection \u00ab List of accounts \u00bb you can download a CSV file with the Ext ID of subscribers, who will be shown an advertising banner. File format:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"194\" height=\"174\" src=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-2.png\" alt=\"\" class=\"wp-image-8790\" srcset=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-2.png 194w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-2-13x12.png 13w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-2-120x108.png 120w\" sizes=\"auto, (max-width: 194px) 100vw, 194px\" \/><\/figure>\n\n\n\n<p>If the subscriber has several accounts, the banner will be shown to all subscriber accounts. Non-existent Ext ID subscribers will be ignored. After downloading the CSV file and saving the advertising banner, a table with a list of accounts will be displayed in the block:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"827\" src=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-3-700x827.png\" alt=\"\" class=\"wp-image-8791\" srcset=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-3-700x827.png 700w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-3-250x295.png 250w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-3-768x907.png 768w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-3-10x12.png 10w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-3-120x142.png 120w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-3.png 848w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Display settings<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"277\" src=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-4-700x277.png\" alt=\"\" class=\"wp-image-8793\" srcset=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-4-700x277.png 700w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-4-250x99.png 250w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-4-768x304.png 768w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-4-1536x608.png 1536w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-4-2048x811.png 2048w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-4-18x7.png 18w, https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-4-120x48.png 120w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Included \u2014 the banner will only be displayed if the flag is installed.<\/li>\n\n\n\n<li>Publication c\/do (mandatory) \u2014 the period in which the advertising banner will be displayed. The period includes those dates.<\/li>\n\n\n\n<li>The position in the list after \u2014 determines the order (priority) of the advertising banner.<\/li>\n\n\n\n<li>Show only on the birthday of the subscriber \u2014 if specified, the banner advertising will be shown to the subscriber on his birthday (subject to the option) <code>ADS_TARGET_BANNER_BIRTHDAY_OFFSET<\/code>&nbsp;and fields \u00abPublishing from\/to\u00bb<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Configuration options<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>ADS_TARGET_BANNER_BIRTHDAY_OFFSET=[2,2] #list with the number of days before and after your birthday when your birthday banners will be available. Format: [ days_before, days_after]. For example:[2,2] means that the banner will be displayed within 2 days before the birthday of the subscriber and 2 days after.\n\nADS_TARGET_BANNER_MAX_HEIGHT = 720 # maximum banner height.\nADS_TARGET_BANNER_MAX_WIDTH = 1280 # maximum banner width. If the image exceeds the specified parameters, the image will be reduced to the maximum parameters.\n\nTVMW_TARGET_BANNER_BIRTHDAY_FORMAT = '%d %m%Y' # date of birth format in the response of the TVMW API of the AccountTargetBannerList method in the message field.<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Implementation in interfaces<\/h3>\n\n\n\n<p>At the moment, banner support is implemented only in the template <a href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/sibseti-settings\/\">Sibseti<\/a> \u2014 the banner is displayed as the background of the main screen when the option is displayed <code><a href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/sibseti-settings\/#%D0%BF%D0%BE%D0%BA%D0%B0%D0%B7-%D1%80%D0%B5%D0%BA%D0%BB%D0%B0%D0%BC%D0%BD%D1%8B%D1%85-%D0%B1%D0%B0%D0%BD%D0%BD%D0%B5%D1%80%D0%BE%D0%B2-%D0%BD%D0%B0-%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%BC-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B5\">show_target_banner<\/a><\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"394\" src=\"http:\/\/microimpuls.com\/wp-content\/uploads\/2026\/01\/1-\u0413\u043b\u0430\u0432\u043d\u0430\u044f-20-700x394.jpg\" alt=\"\" class=\"wp-image-8766\" srcset=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2026\/01\/1-\u0413\u043b\u0430\u0432\u043d\u0430\u044f-20-700x394.jpg 700w, https:\/\/microimpuls.com\/wp-content\/uploads\/2026\/01\/1-\u0413\u043b\u0430\u0432\u043d\u0430\u044f-20-250x141.jpg 250w, https:\/\/microimpuls.com\/wp-content\/uploads\/2026\/01\/1-\u0413\u043b\u0430\u0432\u043d\u0430\u044f-20-768x432.jpg 768w, https:\/\/microimpuls.com\/wp-content\/uploads\/2026\/01\/1-\u0413\u043b\u0430\u0432\u043d\u0430\u044f-20-18x10.jpg 18w, https:\/\/microimpuls.com\/wp-content\/uploads\/2026\/01\/1-\u0413\u043b\u0430\u0432\u043d\u0430\u044f-20-120x68.jpg 120w, https:\/\/microimpuls.com\/wp-content\/uploads\/2026\/01\/1-\u0413\u043b\u0430\u0432\u043d\u0430\u044f-20.jpg 1280w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p>Updating the banner is performed every 12 hours.If the banner for some reason is not available, then a standard mechanism is used to determine the background of the main screen with a banner of a movie or image from the option <code><a href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/sibseti-settings\/#%D1%84%D0%BE%D0%BD%D0%BE%D0%B2%D0%BE%D0%B5-%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-%D0%B4%D0%BB%D1%8F-%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B3%D0%BE-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0\">main_screen_banner<\/a><\/code>.<\/p>","protected":false},"featured_media":0,"parent":1454,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_links_to":"","_links_to_target":""},"doc_tag":[],"class_list":["post-1643","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u044b<\/title>\n<meta name=\"description\" content=\"\u041f\u043e\u043a\u0430\u0437 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0440\u043e\u043b\u043e\u0432 \u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u0431\u0430\u043d\u043d\u0435\u0440\u043e\u0432 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u0432 IPTV\/OTT \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Smarty.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/ads\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u044b\" \/>\n<meta property=\"og:description\" content=\"\u041f\u043e\u043a\u0430\u0437 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0440\u043e\u043b\u043e\u0432 \u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u0431\u0430\u043d\u043d\u0435\u0440\u043e\u0432 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u0432 IPTV\/OTT \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Smarty.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/ads\/\" \/>\n<meta property=\"og:site_name\" content=\"Microimpuls\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-06T06:16:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads\",\"url\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads\",\"name\":\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u044b\",\"isPartOf\":{\"@id\":\"https:\/\/micro.im\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#primaryimage\"},\"image\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#primaryimage\"},\"thumbnailUrl\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png\",\"datePublished\":\"2020-12-16T06:51:41+00:00\",\"dateModified\":\"2026-02-06T06:16:19+00:00\",\"description\":\"\u041f\u043e\u043a\u0430\u0437 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0440\u043e\u043b\u043e\u0432 \u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u0431\u0430\u043d\u043d\u0435\u0440\u043e\u0432 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u0432 IPTV\/OTT \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Smarty.\",\"breadcrumb\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#primaryimage\",\"url\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png\",\"contentUrl\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/micro.im\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Smarty\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435 Smarty\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u044b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/micro.im\/#website\",\"url\":\"https:\/\/micro.im\/\",\"name\":\"Microimpuls\",\"description\":\"\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f OTT \u0438 IPTV\",\"publisher\":{\"@id\":\"https:\/\/micro.im\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/micro.im\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/micro.im\/#organization\",\"name\":\"Microimpuls\",\"url\":\"https:\/\/micro.im\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"contentUrl\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"width\":208,\"height\":219,\"caption\":\"Microimpuls\"},\"image\":{\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Advertising settings","description":"Showing adverts and banners in the application for TVs IPTV\/OTT Smarty platform.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/ads\/","og_locale":"en_US","og_type":"article","og_title":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u044b","og_description":"\u041f\u043e\u043a\u0430\u0437 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0440\u043e\u043b\u043e\u0432 \u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u0431\u0430\u043d\u043d\u0435\u0440\u043e\u0432 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u043e\u0432 IPTV\/OTT \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Smarty.","og_url":"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/ads\/","og_site_name":"Microimpuls","article_modified_time":"2026-02-06T06:16:19+00:00","og_image":[{"url":"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads","url":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads","name":"Advertising settings","isPartOf":{"@id":"https:\/\/micro.im\/#website"},"primaryImageOfPage":{"@id":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#primaryimage"},"image":{"@id":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#primaryimage"},"thumbnailUrl":"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png","datePublished":"2020-12-16T06:51:41+00:00","dateModified":"2026-02-06T06:16:19+00:00","description":"Showing adverts and banners in the application for TVs IPTV\/OTT Smarty platform.","breadcrumb":{"@id":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#primaryimage","url":"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png","contentUrl":"https:\/\/microimpuls.com\/wp-content\/uploads\/2020\/12\/image-700x196.png"},{"@type":"BreadcrumbList","@id":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management\/ads#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/micro.im\/"},{"@type":"ListItem","position":2,"name":"Smarty","item":"https:\/\/microimpuls.com\/docs\/smarty"},{"@type":"ListItem","position":3,"name":"\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435 Smarty","item":"https:\/\/microimpuls.com\/docs\/smarty\/configuring-and-management"},{"@type":"ListItem","position":4,"name":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u044b"}]},{"@type":"WebSite","@id":"https:\/\/micro.im\/#website","url":"https:\/\/micro.im\/","name":"Microimpulses","description":"Comprehensive solutions for OTT and IPTV","publisher":{"@id":"https:\/\/micro.im\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/micro.im\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/micro.im\/#organization","name":"Microimpulses","url":"https:\/\/micro.im\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/","url":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","contentUrl":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","width":208,"height":219,"caption":"Microimpuls"},"image":{"@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/comments?post=1643"}],"version-history":[{"count":39,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1643\/revisions"}],"predecessor-version":[{"id":8810,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1643\/revisions\/8810"}],"up":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1454"}],"prev":[{"title":"Setup of the geolocation module","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/configuring-and-management\/geo","href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/2402"}],"wp:attachment":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/media?parent=1643"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}