Browse files

fix ads

  • Loading branch information...
1 parent 3d06183 commit 7feac219632b900dcf7dad36fcc3cd5fa555c4d6 @jodyalbritton committed Jul 20, 2014
Showing with 25 additions and 3 deletions.
  1. +12 −1 app/views/layouts/application.html.erb
  2. +13 −2 app/views/pages/home.html.erb
View
13 app/views/layouts/application.html.erb
@@ -115,7 +115,12 @@
<!-- Advertisment Start -->
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
<figure class="header-adv">
- <a href="#"><%= image_tag "adv.gif", :class=>"img-responsive", :alt=>"Advertisment"%></a>
+ <!-- top_banner -->
+ <ins class="adsbygoogle"
+ style="display:inline-block;width:728px;height:90px"
+ data-ad-client="ca-pub-1330310830055293"
+ data-ad-slot="1848089765"></ins>
+
</figure>
</div>
<!-- Advertisment End -->
@@ -370,7 +375,13 @@
</div>
+<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
+
+
+<script>
+(adsbygoogle = window.adsbygoogle || []).push({});
+</script>
View
15 app/views/pages/home.html.erb
@@ -53,7 +53,12 @@
<!-- Advertisement start -->
<div class="widget">
- <%= image_tag "adv2.gif", :class=> "img-responsive" %>
+ <!-- Side Bar -->
+ <ins class="adsbygoogle"
+ style="display:inline-block;width:300px;height:250px"
+ data-ad-client="ca-pub-1330310830055293"
+ data-ad-slot="7755022568"></ins>
+
</div>
<div class="clearfix"></div>
@@ -326,7 +331,13 @@
<!-- Advertisement start -->
<div class="widget">
- <%= image_tag "adv1.gif", :class=>"img-responsive" %>
+
+ <!-- side_bar_2 -->
+ <ins class="adsbygoogle"
+ style="display:inline-block;width:300px;height:250px"
+ data-ad-client="ca-pub-1330310830055293"
+ data-ad-slot="9231755768"></ins>
+
</div>
<div class="clearfix"></div>
<!-- Advertisement End -->

0 comments on commit 7feac21

Please sign in to comment.