Installing AdSense

Posted in: Newspaper
Post count: 3

Hello

I want to put AdSense on my site but when i sign up for they are asking me to put a code to verify if i am the owner of the website.
they are saying to insert it in the HTML file between <head>.
So do i have to just add the code to the theme panel>ad>header ?
Or do i have to find the html file and ad it there?

Thanks for answers

Post count: 1341

Better to require verification of the website through a html-file, which you simply copy to the root folder of your website.

To verify ownership using a HTML file, choose the HTML file upload method on the verification details page for your site, and follow the instructions shown: https://www.google.com/webmasters/verification/verification

Post count: 3

Thanks for the answer.

Done but they still need me to connect adsense to my website by inserting this code :
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-4417534215603984”,
enable_page_level_ads: true
});
</script>
to my <head> banner

Post count: 1341
Post count: 3

Not working.
Adsense is still asking me to put the code in my <head> banner and i can’t figure how to do this 🙁

Post count: 20688

Hi,

The code must be entered in the theme header.php file, between the head tags
https://www.screencast.com/t/3ORNutEVslq
The ad code themselves can be entered in the theme panel ad locations that you want
https://forum.tagdiv.com/ads-adsense-overview/
Please note that there is also a waiting period according to Google before the ads will be displayed on the website
https://support.google.com/adsense/answer/76228?hl=en

Thanks

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