How to enable Google Adsense for AMP website?

Posted in: Newspaper
Post count: 11

Hi,

I enable AMP theme for my website via Newspaper, it works well.

But I have a problem with enabling Google Adsense for AMP.

I have putted two ad codes for <head></head> and <body></body> html tag, but ads can’t show all the time.

I wonder if I miss something on the theme panel “mobile theme”, I found there is a blank area named “ADSENSE AUTO ADS FOR AMP”. Should I put something in there?

Thanks,

Post count: 18283

Hello!

Yes, for AMP you will need to receive AMP Ad Code from google and you will have to insert it in the Mobile theme section Adsense auto ads for amp.

Thank you!

Post count: 11

Thanks, it works well now.

But I got a new problem about social share plugin.

I found social share plugin disappear in the mobile and amp version.

How can I solve this problem?

Thanks,

Post count: 27744

Hello,

If you referring you don’t have social share on the mobile theme, please deactivate the tagDiv Composer, delete and re-install it again from Newspaper plugins => https://www.screencast.com/t/WLy01lbc
If you don’t mean this please give me more details, screenshots.

Thank you!

Post count: 11

Hi,

I mean I have installed social share plugin, but it won’t show in the mobile and amp version.

Here is my website: https://techbesty.com/.

You can check the code via developer tool.

Thanks,

Post count: 27744

Hello,

Please try to deactivate, delete and reinstall tagDiv Composer => https://www.screencast.com/t/WLy01lbc and clear all cache.
Also, if the problem persists after that, you need to use a custom code CSS => https://www.screencast.com/t/nBelRAdE

.single .td-post-sharing {
opacity: 1;
}

Please use the code above and insert it in here: https://www.screencast.com/t/OtVh8O82sN

Thank you!

Post count: 11

Hi,

I reinstall tagDiv Composer, and it works well now.

Thanks for your help.

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