Hi,
I have a problem with adSense : i can’t make it work (never succeeded until now).
In the theme panel, in “ads” i put in Custom ad 1 :
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-format=”fluid”
data-ad-layout-key=”-8i+1w-dq+e9+ft”
data-ad-client=”ca-pub-4267309382219014″
data-ad-slot=”3793638531″></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
==> is it that kind of code that i need to write here ?
and then in my page, i put :
Ad box (custom ad 1) (under the title “Ailleurs sur le web”).
==> but nothing appears (do we have to do something else ?)
Thanks in advance, i really need some help !
http://penseeartificielle.fr/
Lambert.
without doing what you ask, i have errors 400 in console:
ads Failed to load resource: the server responded with a status of 400 ()
doing what you ask, i get this (and the 400’s):
Uncaught
S
message
:
“adsbygoogle.push() error: All ins elements in the DOM with class=adsbygoogle already have ads in them.”
name
:
“TagError”
stack
:
“TagError: adsbygoogle.push() error: All ins elements in the DOM with class=adsbygoogle already have ads in them.↵ at Hi (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:67435)↵ at http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:65822↵ at Ud (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:14966)↵ at $d (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:17517)↵ at Ii (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:65801)↵ at Ji (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:67860)↵ at Ud (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:14809)↵ at $d (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:17517)↵ at Ki (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:67550)↵ at http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:1:68205”
__proto__
:
Error
what does it mean please ? why do i get a 400 and a message telling me i already have the response though my ads are empty
Hello soldierftl,
Please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so I will be able to take a closer look at your setup page. Provide there the link to this topic so we can quickly identify you.
Thanks for the message!