Ad configuration

Posted in: Newspaper
Post count: 1

Hello, I’m a new user of AdSense, so I’ve got a very basic question on how to get Ad configuration done. I have a code from AdSence, that actually looks like this:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block; text-align:center;"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-2865731985189512"
data-ad-slot="3419420472"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

my question is: where I have to paste this code to get it working. When I pasting this code directly into theme’s dedicated place, nothing happens but I see in the console errors:

show_ads_impl.js:1 GET https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2865731985189512&output=html&h=250&slotname=3419420472&adk=1050321431&adf=1218564006&w=300&lmt=1508877900&format=300x250&url=https%3A%2F%2Fdmitr.io%2F&flash=0&avail_w=324&wgl=1&adsid=NT&dt=1508877899975&bpp=7&bdt=490&fdt=8&idt=32&shv=r20171021&cbv=r20170110&saldr=aa&prev_fmts=728x90&correlator=1444114385766&frm=20&ga_vid=2088642563.1508877900&ga_sid=1508877900&ga_hid=590819360&ga_fc=0&pv=1&iag=3&icsg=2&nhd=1&dssz=2&mdo=0&mso=0&u_tz=180&u_his=2&u_java=0&u_h=1440&u_w=2560&u_ah=1324&u_aw=2560&u_cd=24&u_nplug=4&u_nmime=5&adx=928&ady=902&biw=1411&bih=1250&abxe=1&eid=10583696%2C21060831&oid=3&nmo=1&zm=1.40&rx=0&eae=0&fc=528&brdim=49%2C23%2C49%2C23%2C2560%2C23%2C1978%2C1324%2C1411%2C1250&vis=1&rsz=%7C%7CoeE%7C&abl=CS&ppjl=u&pfx=0&fu=16&bc=1&jar=2017-10-24-20&osw_key=1608009942&ifi=2&xpc=pGQYNGqMsK&p=https%3A//dmitr.io&dtd=141 403 ()

thank you in advance.

Post count: 23312

Hello dmitrio,

I have inspected your Adsense and it seems that code is not delivered as expected. Please ensure that you have followed all these steps from here -> https://support.google.com/adsense/answer/7036617?hl=en&utm_source=aso&utm_medium=link&utm_campaign=ww-ww-et-asfe_

Doubleclick ads have not been tested with our theme and based on our user experience, they require an extra implementation to work properly, but I have not seen this requirement before.
Maybe this topic will provide more information
https://forum.tagdiv.com/topic/tutorial-responsive-ads-with-google-dfp/.
You could also try the suggestion from the link you provided, and check if the ads display properly.

Thanks for your understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.