|
7 | 7 | <html{% if rtl is defined and true == rtl %} dir="rtl"{% endif %} lang="{{ app.request.locale }}"> |
8 | 8 | <head> |
9 | 9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
10 | | -{% if ads %} |
11 | | - <script async src='https://securepubads.g.doubleclick.net/tag/js/gpt.js'></script> |
12 | | - <script async src="https://vertex-cdn.relevant-digital.com/static/tags/69272294e5bf2fc30d50f89e.js"></script> |
13 | | - <script> |
14 | | - function loadAds() { |
15 | | - window.relevantDigital = window.relevantDigital || {}; |
16 | | - relevantDigital.cmd = relevantDigital.cmd || []; |
17 | | - relevantDigital.cmd.push(function () { |
18 | | - relevantDigital.loadPrebid({ |
19 | | - configId: '69272d28f64d523c9b50f90d', |
20 | | - manageAdserver: true, |
21 | | - collapseEmptyDivs: true, |
22 | | - collapseBeforeAdFetch: false, |
23 | | - allowedDivIds: null, |
24 | | - noSlotReload: true, |
25 | | - noGpt: true |
26 | | - }); |
27 | | - }); |
28 | | - }; |
29 | | - </script> |
30 | | -{% endif %} |
31 | 10 | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
32 | 11 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
33 | 12 | <title>{% block title %}MediaInfo{% endblock %}</title> |
|
108 | 87 | {% endfor %} |
109 | 88 |
|
110 | 89 | {% if ads %} |
111 | | - {{ include('@App/adSlot.html.twig', { adSlotId: 'desktop_leaderboard_atf_ros' }, with_context = false) }} |
112 | | - {{ include('@App/adSlot.html.twig', { adSlotId: 'mobile_leaderboard_atf_ros' }, with_context = false) }} |
| 90 | + {{ include('@App/adSlot.html.twig', { adSlotId: 5930355910 }, with_context = false) }} |
113 | 91 | {% endif %} |
114 | 92 |
|
115 | 93 | {% block body %}{% endblock %} |
|
120 | 98 | <div class="clearfix"></div> |
121 | 99 | {% if ads %} |
122 | 100 | <div class="container"> |
123 | | - {{ include('@App/adSlot.html.twig', { adSlotId: 'desktop_fixedfooter_ros' }, with_context = false) }} |
124 | | - {{ include('@App/adSlot.html.twig', { adSlotId: 'Mobile_fixedfooter_ros' }, with_context = false) }} |
| 101 | + {{ include('@App/adSlot.html.twig', { adSlotId: 8744221512 }, with_context = false) }} |
125 | 102 | </div> |
126 | 103 | {% endif %} |
127 | 104 | <footer id="footer"> |
|
151 | 128 | {{ include('@App/socialShare.html.twig') }} |
152 | 129 | {% block javascripts %}{% endblock %} |
153 | 130 | {% if ads %} |
154 | | - <script> |
155 | | - loadAds(); |
156 | | - </script> |
| 131 | + <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> |
157 | 132 | {% endif %} |
158 | 133 | </body> |
159 | 134 | </html> |
0 commit comments