Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_options:opt_advertising:ads_conf [2020/02/05 17:31] – ↷ Page moved from en:dpi:dpi_options:base_functionality:opt_advertising:ads_conf to en:dpi:dpi_options:opt_advertising:ads_conf lexx26 | en:dpi:dpi_options:opt_advertising:ads_conf [2024/09/26 15:29] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Configuration ====== | ====== 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</ | ||