Skip to main content
removed "Drupal" and tags from the title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

adsense code does not working in drupal 7work

I have put the following code from adsense in a block with full html filter :.

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- newad -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-4076687304826472"
     data-ad-slot="1906412748"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- newad -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-4076687304826472"
     data-ad-slot="1906412748"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

But I dontdon't see the proper ads ,. The message comes with style :"display etc.. and some ads in very unformatted fashion  . 

Is there some other way to put adsense code in drupalDrupal 7  ?

thanks for any help in this

adsense code not working in drupal 7

I have put the following code from adsense in a block with full html filter :

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- newad -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-4076687304826472"
     data-ad-slot="1906412748"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

But I dont see the proper ads , The message comes with style :"display etc.. and some ads in very unformatted fashion  . Is there some other way to put adsense code in drupal 7  ?

thanks for any help in this

adsense code does not work

I have put the following code from adsense in a block with full html filter.

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- newad -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-4076687304826472"
     data-ad-slot="1906412748"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

I don't see ads. The message comes with style :"display etc.. and some ads in very unformatted fashion. 

Is there some other way to put adsense code in Drupal 7?

added 5 characters in body
Source Link
Mołot
  • 21.9k
  • 8
  • 59
  • 112

I have put the following code from adsense in a block with full html filter :

{        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- newad -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-4076687304826472"
     data-ad-slot="1906412748"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

(adsbygoogle = window.adsbygoogle || []).push({}); `enter code here`}

But I dont see the proper ads , The message comes with style :"display etc.. and some ads in very unformatted fashion . Is there some other way to put adsense code in drupal 7 ?

thanks for any help in this

I have put the following code from adsense in a block with full html filter :

{        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

(adsbygoogle = window.adsbygoogle || []).push({}); `enter code here`}

But I dont see the proper ads , The message comes with style :"display etc.. and some ads in very unformatted fashion . Is there some other way to put adsense code in drupal 7 ?

thanks for any help in this

I have put the following code from adsense in a block with full html filter :

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- newad -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-4076687304826472"
     data-ad-slot="1906412748"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

But I dont see the proper ads , The message comes with style :"display etc.. and some ads in very unformatted fashion . Is there some other way to put adsense code in drupal 7 ?

thanks for any help in this

Source Link

adsense code not working in drupal 7

I have put the following code from adsense in a block with full html filter :

{        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

(adsbygoogle = window.adsbygoogle || []).push({}); `enter code here`}

But I dont see the proper ads , The message comes with style :"display etc.. and some ads in very unformatted fashion . Is there some other way to put adsense code in drupal 7 ?

thanks for any help in this