1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem With AMP and Webmasters Tool

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

  1. ergoprime

    ergoprime Junior Member

    Joined:
    Nov 3, 2016
    Messages:
    126
    Likes Received:
    19
    Occupation:
    SOCIAL MEDIA MARKETING
    Hi,

    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)



    [​IMG]

    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:

    "<script></script><script><![CDATA[
    //<![CDATA[
    aax_getad_mpb({
    "slot_uuid":"106d3a8f-cf69-4f69-99c9-04c7af1eb589"
    });
    //]]]]><![CDATA[>
    ]]></script></div>"

    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?