1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Problem With AMP and Webmasters Tool

Discussion in 'White Hat SEO' started by ergoprime, Aug 10, 2017.

  1. ergoprime

    ergoprime Junior Member

    Nov 3, 2016
    Likes Received:

    I don't know if this forum is the right location to ask my question, but AMP boosts your ranking dramatically and therefore it's kind of relevant. I hope someone can help me:

    The search engine console is showing me the following error on some of my AMP-Sites:

    "From User Created Javascript-Code found on site"

    "Please delete userdefined Javascript-Code from your site. AMP-Sites with userdefined Javascript-Code can be displayed without AMP-specific displayfunctions on Google." (Translation from German, but I hope it's understandable)


    I followed the instructions and the report even shows me on which line the error is and the source code, when I click on it. But when I visit my pages and look at the source code, I am not able to find the following supposed errors:


    The code looks very similar to the Popads.net (popups and popunder) code that I added into the header.php a week ago, but that's an ad code and I would like to avoid deleting it, because they make a nice part of my blog income.

    Do you have any options for me? Any other Popunder/Popads Networks that are usable for AMP and offer good RPM?