Creating search blocks
Ad blocks for search results can be placed on site search platforms (for more information, read about creating and configuring platforms).
Search blocks that contain advertising related to a user's search context can be placed on site search platforms (for more information, read about creating and configuring platforms).
You are not allowed to place code for search ad blocks on content sites (that do not generate search results) and transmit search terms manually. This might cause the partner's account to be blocked.
To create ad blocks in the Yandex Advertising Network interface, use the visual code designer. The code designer lets you specify the desired ad format, select the appearance of your ad block, and configure it to match the design of your site.
To create a new premium placement or Yandex.Direct search block, go to the list of search blocks (Add special placement block or Add Yandex.Direct search block.or ). Click
Select a platform from the list to place your block and specify the block name in the form that opens on the General tab.
Specify the maximum number of ads on the Formats tab:
- For premium placement block: 1–3;
- For Yandex.Direct search block: 1–9 (if a block is placed under the search results, it should contain at least 4 ads).
On the Yandex.Direct design tab, you can set the block's visual design: set the font type and color palette, and select the type of corners and border. All changes to settings are immediately displayed in the test block. The design of your ad block significantly influences the CTR and, consequently, your site revenue.Attention. In accordance with the Terms of Participation, the Yandex.Direct link and the advertisers' domains must be clearly visible and easily distinguishable.
A unique ID will be assigned to the block after it is saved, and the block will be displayed in the list of Yandex.Direct
blocks. A block ID (
ID) consists of a product ID (
D-A), platform ID (
page_id) and the block's serial number.
To correctly transmit a use'sr search query to Yandex and obtain ads that match the search terms, specify the following variables in the block code:
search_text— The user's search query.
search_page_number— The page number in search results.
Specify a variable/function/script (depending on the search solution used) in the
search_text variable value. Sending pre-set search queries is prohibited.
If you want to create another block with the same settings, click Duplicate. The new block will be displayed in the list of search blocks.
To edit added blocks, go to the list of search blocks (Edit.or ). Find the block you need and click