How to install Google AdSense ads

Posted in: Newspaper
Post count: 11

Hi,
AdSense ads are not being displayed at my site (elpolaco.info).

As Google AdSense tells ads are “automatic”, I just pasted the piece of code on the “header.php” file.
https://support.google.com/adsense/answer/7477845?hl=en
However, at the Theme Panel, the ad code boxes are empty, and the ads are not being displayed.

What is wrong?

Thanks

Jaime

Post count: 1341

You can place that code here – https://www.screencast.com/t/iGefS9jwHpKJ in the

header.php

file found in the main theme folder.

https://forum.tagdiv.com/topic/google-adsense-activation/

Post count: 11

Thanks, I just did it.

Two follow-up questions:
1) Should the ad code boxes at the Theme Panel remain empty?
2) In order to install automatic AMP ads, where should I paste the two pieces of code (secquency of commands and ad code)?

Post count: 22421

Hello,

Sorry but we have not officially tested auto-placed ads. Any ad should be placed in the the ad spots in our theme.

For amp, you can add the code here: https://www.screencast.com/t/uYfMhVcNetm
and then use the amp ad spots available in the theme panel

Thank you!

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