Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2171876
PenNews: AMP issues detected by Google Search Console
Closed

Comments

  •  1
    ICEknigh7 started the conversation

    I just received an email from Google Search Console regarding some AMP issues in the site with the PenNews theme:

    Search Console has identified that your site is affected by 1 AMP issues: 
    Top Errors
    Custom JavaScript is not allowed.

    Can this be fixed somehow?

  •  501
    Penci replied

    Hi,

    I checked  amp on your site on test amp of google and i don't see error. https://prnt.sc/pefiz6, https://prnt.sc/pefjh1

    Please check and send me about the error and can you tell me about url  page on your site have error same screenshot you send. I will check it help you.


    Best Regards,

    PenciDesign

  •  1
    ICEknigh7 replied

    It seems to be a problem when showing the Adsense ads in the AMP pages.

    Any ideas on how to fix it?

  •  501
    Penci replied

    Hi,

    About ads in the amp,

    Please check this guide to know How to setup Google Adsense code for AMP?

    Best Regards,

    PenciDesign

  •  1
    ICEknigh7 replied

    I've read that guide and it's for adding new ads to the AMP site, but I'd need to replace the old header and footer banners with their AMP versions (which are also provided by Adsense) or the error will keep happening.

  •  501
    Penci replied

    Hi,

    Sorry, I'm not clear about the  you said. Please tell me about the  issue.

     I checked on your site on amp, it appears you don't you any ads on amp. You can add ads on amp with markup  same the documention of PenNews. 

    If you have ads, please add them on amp, if have error, i will check it help you.


    Best Regards,

    PenciDesign

  •  1
    ICEknigh7 replied

    The problem is that I have ads in the header and footer of the normal page, which the AMP site also tries to display and gives an error.

    I need to replace those ads with their AMP versions, not add aditional ones.

  •  501
    Penci replied

    Hi,

    Please send me ads on desktop you want show on amp and position you want add ads on amp.

    I will check it and add ads on amp help you.


    Best Regards,

    PenciDesign

  •  1
    ICEknigh7 replied

    I've spoken with the author of Ad Inserter and he's going to contact you regarding this issue, please check your inbox.

  •  1
    ICEknigh7 replied

    The plugin has been updated and now the Google Search Console doesn't detect any non suitable ads in the AMP pages anymore. This can be closed.