• Problems in Search Console

    Problem: You can not include custom JavaScript.
    All our pages are presenting this type of problems with the script itself.

    When displaying the errors, I mark in red where the error is found, but the only script I see is “<script> (adsbygoogle = window.adsbygoogle || []). Push ({}); </ script>”

    We have the following plugins installed
    1.- Accelerated Mobile Pages
    2.- Advanced AMP ADS
    3.- All In One SEO Pack
    4.- Content Views
    5.- Custom Permalinks
    6.- Google Analytics Dashboard for WP (GADWP)
    7.- Insert Post Ads
    8.- Page Builder by SiteOrigin
    9.- Redirection
    10.- Regenerate Thumbnails
    11.- SiteOrigin Widgets Bundle
    12.- Smush
    13.- UberMenu 3 – The Ultimate WordPress Mega Menu
    14.- Wordfence Security
    15.- WP Rocket

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @israelevhr,

    In AMP you only need to add AMP compatible code for displaying the ads and it seems that you are adding scripts and due to that you are having the error, Please remove the scripts and then you can go to advertisement section in AMP panel and add the ads in AMP version.

    Thread Starter israelevhr

    (@israelevhr)

    The ADS at the AMP level are managed through the AMP plugins, at the web level we manage it directly by theme (embedded by hand within the theme) and with the “Insert Post Ads” plugins so that they appear within the content every few paragraphs.

    Plugin Contributor ampforwp

    (@ampforwp)

    I have checked your AMP version now and the ads are appearing perfectly now – https://prnt.sc/lubsf1

    Thread Starter israelevhr

    (@israelevhr)

    the problem was caused by the “Insert Post Ads” plugins, since it embeds the ADS within the content and the pages that present the errore are the ones that are automatically grabbed by the official WordPress Content Manager. In the case of the pages that were created by means of the AMP Builder they do not show the publicity, this favors us since we do not want them to be seen in these pages but it is strange to us since it must appear and we through the plugin notify that we do not want them in these pages.

    Plugin Contributor ampforwp

    (@ampforwp)

    If you add the ads with Insert Post Ads plugin then the ads will only work on your non-amp version and not in AMP version and why don’t you try our free plugin called “AdsforWP” plugin which is also free – https://www.ads-software.com/plugins/ads-for-wp/ and with the help of that you can use the same ad for AMP and also for non-amp version

    Thread Starter israelevhr

    (@israelevhr)

    I tell you everything that is embedded by code in the content, either by the .php files and by said plugins, by managing AMP and it grabs all the content that we have by the default content manager of wordpress, the AMP version grab But with the difference that in the case of ADS do not work but the code remains and gives us the error in search console.
    We are doing the test with the plugins of you that you mention for the ADS, but we did a test, incertando the AdSense ADS within the content and it is not shown, it places the space for the ADS but until now the ADS does not appear … And we have another question at the web level what we put in the content and how do we do if we also want it to be seen at the AMP level with only those plugins? Thank you

    Plugin Contributor ampforwp

    (@ampforwp)

    Currently, you dont have any errors on your website – https://prnt.sc/lv80wn and that’s really strange to hear that the ads are not showing up with the “ADSforWP” plugin, Will you please contact us on [email protected] and our lead developers will look at your issue and I am sure that there will fix all your issues and make sure everything works perfectly.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problems in Search Console’ is closed to new replies.