Skip to content

Commit 8701634

Browse files
committed
testing ad units
1 parent 9e3f5d2 commit 8701634

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

app/views/protips/show.html.haml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,22 @@
6666
-# .adunit#v1_protip{'data-dimensions'=>"320x100"}
6767
-# :javascript
6868
-# $.dfp('181068894');
69-
%script{async: true, src: "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"}
70-
%ins{"class" => "adsbygoogle", "style" => "display:inline-block;width:320px;height:100px", "data-ad-client" => "ca-pub-6075623866293464", "data-ad-slot" => "3507958237"}
71-
:javascript
72-
(adsbygoogle = window.adsbygoogle || []).push({});
69+
70+
-# %script{async: true, src: "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"}
71+
-# %ins{"class" => "adsbygoogle", "style" => "display:inline-block;width:320px;height:100px", "data-ad-client" => "ca-pub-6075623866293464", "data-ad-slot" => "3507958237"}
72+
-# :javascript
73+
-# (adsbygoogle = window.adsbygoogle || []).push({});
74+
75+
:javascript{id: 'mNCC'}
76+
medianet_width = "300";
77+
medianet_height = "250";
78+
medianet_crid = "777595362";
79+
medianet_versionId = "111299";
80+
(function() {
81+
var isSSL = 'https:' == document.location.protocol;
82+
var mnSrc = (isSSL ? 'https:' : 'http:') + '//contextual.media.net/nmedianet.js?cid=8CU5XGBHT' + (isSSL ? '&https=1' : '');
83+
document.write('<scr' + 'ipt type="text/javascript" id="mNSC" src="' + mnSrc + '"></scr' + 'ipt>');
84+
})();
7385

7486
-if signed_in?
7587
#new-comment.new-comment.mt2.mb2.px2

0 commit comments

Comments
 (0)