Posted in: Newspaper
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.
This forum is now closed to new posts
All existing content remains available to browse and search. For support, please email us at contact@tagdiv.com Our team is happy to help as soon as possible.
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.
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!
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-advertisement | 1 year | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Advertisement". |
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
| Cookie | Duration | Description |
|---|---|---|
| _ga | 2 years | This cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assign a randomly generated number to identify unique visitors. |
| _gat_gtag_UA_43963494_1 | 1 minute | This cookie is set by Google and is used to distinguish users. |
| _gid | 1 day | This cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visted in an anonymous form. |
| Cookie | Duration | Description |
|---|---|---|
| IDE | 1 year 24 days | Used by Google DoubleClick and stores information about how the user uses the website and any other advertisement before visiting the website. This is used to present users with ads that are relevant to them according to the user profile. |
| test_cookie | 15 minutes | This cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies. |
| VISITOR_INFO1_LIVE | 5 months 27 days | This cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website. |
| YSC | session | This cookies is set by Youtube and is used to track the views of embedded videos. |
| Cookie | Duration | Description |
|---|---|---|
| CONSENT | 16 years 5 months 26 days 13 hours 25 minutes | No description |
| yt-remote-connected-devices | never | This cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video. |
| yt-remote-device-id | never | This cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video. |