- This topic has 17 replies, 3 voices, and was last updated 3 years, 6 months ago by Tom.
-
AuthorPosts
-
September 10, 2020 at 8:32 am #1438273Victor
Hello.
I had the adsense and AMP plugins on my website before I purchased and installed the GP Premium theme. They were working normally, but since I installed the new theme no ads are showing.
– I installed the AMP for GeneratePress plugin
– cleaned the cache
– tested with other themes
The problem seems to be on the theme compatibility with AMP itself.
September 10, 2020 at 8:35 am #1438277VictorForgot to mention:
the site also got considerably slower with the AMP plugin activated — which is odd.
I deactivated the AMP plugin for now, until I find a solution.
September 10, 2020 at 2:13 pm #1438579TomLead DeveloperLead DeveloperHi there,
Can you include a link to your site in the private information so we can see the issue?
Thanks!
September 10, 2020 at 4:40 pm #1438675VictorHello.
Sorry, completly forgot.
September 11, 2020 at 5:04 am #1439164DavidStaffCustomer SupportHi there,
i am seeing this error in the browser developers console:
TagError: adsbygoogle.push() error: Only one 'enable_page_level_ads' allowed per page.
Can you check your ad setup to make sure you’re not making more than one of the same ad request.
September 16, 2020 at 5:12 pm #1446478VictorHello.
I noticed that I had this duplicated code on Header.php.
I left only one ad request now, but I think I’m still having the same issues.September 17, 2020 at 2:28 am #1446819DavidStaffCustomer SupportI am still seeing that same TagError – can you check for other codes / plugins that may be place ads.
September 17, 2020 at 12:35 pm #1447687VictorHello, David.
I deactivated the Quick adsense plugin and I think the the website does not have that tagError anymore.
Sorry about this.
Can you take a look again?
Thank you!
September 18, 2020 at 10:41 am #1449038TomLead DeveloperLead DeveloperHi there,
What are we looking for here, exactly? I took a look and ads are showing up normally. I added
?amp
to the URL and the ads continue to display.The theme itself isn’t able to prevent ads from showing if the code is added correctly – it’s just javascript and HTML.
Let us know 🙂
September 18, 2020 at 11:27 am #1449087VictorHi Tom.
Don’t know what happening, but when I activate the AMP plugin, all the ads stop showing.
I deactivated the plugin for now, so I don’t lose revenue, but as soon as I activate it, the ads disappear from the website.
It might be my mistake, but with the “AMP for GeneratePress” plugin, do I need any other plugin to enable amp on my website?
September 18, 2020 at 1:45 pm #1449237TomLead DeveloperLead DeveloperThat’s all you should need from the theme side of things.
However, this may help: https://support.google.com/adsense/answer/9187239?hl=en
September 19, 2020 at 5:16 am #1449757VictorI think the AMP for GeneratePress plugin is not enabling AMP. I tested the website on Google’s search console and it says that the website is not an AMP and does not link to any AMP pages.
September 19, 2020 at 9:57 am #1450162TomLead DeveloperLead DeveloperAMP for GeneratePress simply integrates some of the GP options with the AMP plugin – it doesn’t have the ability to prevent the functionality of the official plugin from working.
Just to confirm, you’re using this plugin, right?: https://wordpress.org/plugins/amp/
September 21, 2020 at 3:00 pm #1452995VictorOh, I see.
Thats right. I’m using this AMP plugin (is deactivated now because of this issue)September 22, 2020 at 9:26 am #1454124TomLead DeveloperLead DeveloperDid you look into AMP-specific ads (the link I posted above)?
-
AuthorPosts
- You must be logged in to reply to this topic.