Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:dpi:dpi_options:opt_advertising:ads_conf:start [2023/11/01 13:55] – created elena.krasnobryzh | en:dpi:dpi_options:opt_advertising:ads_conf:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Configuration ====== | ||
| - | {{indexmenu_n> | ||
| - | The option is enabled by configuration parameter in /// | ||
| - | |||
| - | < | ||
| - | Here < | ||
| - | |||
| - | The list of URLs to replace is supplied as a text file. Each line of this file contains one URL (no < | ||
| - | |||
| - | **Example: | ||
| - | |||
| - | < | ||
| - | pagead2.googlesyndication.com/ | ||
| - | an.yandex.ru/ | ||
| - | </ | ||
| - | |||
| - | The list is converted into an internal format and placed to / | ||
| - | < | ||
| - | cat my_ad_list.txt|url2dic my_ad_list.dic | ||
| - | mv my_ad_list.dic / | ||
| - | </ | ||
| - | |||
| - | <note important> | ||
| - | The redirection to ad_server in this case is not performed.</ | ||
| - | |||
| - | **Example: | ||
| - | <code bash> | ||
| - | cat << | ||
| - | pagead2.googlesyndication.com | ||
| - | googleads.g.doubleclick.net | ||
| - | googleads4.g.doubleclick.net | ||
| - | pubads.g.doubleclick.net | ||
| - | ad.doubleclick.net | ||
| - | securepubads.g.doubleclick.net | ||
| - | www.googleadservices.com | ||
| - | EOF | ||
| - | </ | ||
| - | |||
| - | **Example: | ||
| - | |||
| - | < | ||
| - | pagead2.googlesyndication.com | ||
| - | ads.adfox.ru | ||
| - | yabs.yandex.ru</ | ||