Skip to content

Commit 1fd9919

Browse files
Use another web advertiser
1 parent 5826dfd commit 1fd9919

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

app/Resources/views/base.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
{% endfor %}
8888

8989
{% if ads %}
90-
{{ include('@App/adSlot.html.twig', { adSlotId: 5930355910 }, with_context = false) }}
90+
{{ include('@App/adSlot.html.twig', { adSlotId: 'desktop-1fixedfooter-ros' }, with_context = false) }}
9191
{% endif %}
9292

9393
{% block body %}{% endblock %}
@@ -98,7 +98,7 @@
9898
<div class="clearfix"></div>
9999
{% if ads %}
100100
<div class="container">
101-
{{ include('@App/adSlot.html.twig', { adSlotId: 8744221512 }, with_context = false) }}
101+
{{ include('@App/adSlot.html.twig', { adSlotId: 'desktop-2fixedfooter-ros' }, with_context = false) }}
102102
</div>
103103
{% endif %}
104104
<footer id="footer">
@@ -128,7 +128,7 @@
128128
{{ include('@App/socialShare.html.twig') }}
129129
{% block javascripts %}{% endblock %}
130130
{% if ads %}
131-
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
131+
<script async src="//htlbid.com/v3/mediaarea.net/htlbid.js"></script>
132132
{% endif %}
133133
</body>
134134
</html>
Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
<div>
2-
<ins class="adsbygoogle"
3-
style="display:block;"
4-
data-ad-client="ca-pub-8386011224798635"
5-
data-ad-slot="{{ adSlotId }}"
6-
data-ad-format="horizontal"></ins>
7-
<script>
8-
(adsbygoogle = window.adsbygoogle || []).push({});
9-
</script>
10-
</div>
1+
<div id="ad_{{ adSlotId }}"></div>
2+
<script>
3+
window.tude = window.tude || { cmd: [] };
4+
tude.cmd.push(function() {
5+
tude.refreshAdsViaDivMappings([
6+
{
7+
divId: 'ad_{{ adSlotId }}',
8+
baseDivId: '{{ adSlotId }}',
9+
}
10+
]);
11+
});
12+
</script>

0 commit comments

Comments
 (0)