Where to add the code to implement Google AdSense Auto Ads on site

Posted in: Newspaper
Post count: 5

Hi There!

I am trying to implement Google AdSense Auto Ads on my new site “webposts.com”.
I wish to show ad on the whole site therefore wants to know where to add the code in particular, it says paste the ad code between the <head> and </head> tags of each page where you want to show Auto ads.

Please help at the earliest.

Regards,
Amit Jain

Post count: 82

I have added it to header.php file.

But I’m wondering would it work if I add it to the “Analytics” field in Theme Panel?

Post count: 20688

Hi,

Indeed the Google Adsense verification code has to be entered between the head tags in the header.php file
https://www.screencast.com/t/2noeCTl9Z
Adding it in the Analytics section will also work, the code will be added between the head tags.

Thanks

Post count: 82

Thank you Simion!

Post count: 30

Hey Simion,

is it possible to add two scripts in this section. I would like to add there Google Adsense and Google Mobile Adds. Now i have to use a “header and footers plugin” but it would nice to have this in the theme settings

Post count: 20688

@AndroidKosmos You add as many script codes as you want, they will be outputted in the header file, between the head tags.

Post count: 30

Ok i will check it, thank you

Post count: 135

Simion,

Thanks! That was pretty smart with utilizing the analytics section for auto ads.

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