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 #2733853
Auto Ads in AMP
Closed

Comments

  • Andres started the conversation

    Hi,

    How can I put auto ads only in the AMP version? Could you help me with that?

    I try, but I Google Search Console told me I have amp-auto-ads extension script duplicated and I never was able to see the auto ads...

    Thanks!

  •  2,700
    PenciDesign replied

    Hi,

    First, please go to update the AMP plugin to the latest version by doing follow steps:

    a/ Go to https://themeforest.net/ and login to the account you use to buy this theme. And go to download page and download "All files and documentation" from Soledad.

    b/ Extract the download package > open the folder you received > open plugins folder - you can see penci-soledad-amp.zip - It's the latest version of the AMP plugin.

    c/ Go to Plugins > All Plugins > deactivate & delete old AMP plugin > after that upload again the latest version of AMP plugin you got on step 2 & activate it.

    After that, check it again and your issues will gone.

    And you can check this guide to know how to add auto ads for AMP pages:

    https://support.google.com/adsense/answer/9261309?hl=en


    Best Regards,

    PenciDesign

  • Andres replied

    I am still trying to put auto ads in AMP version but I cannot.

    I installed the new version AMP plugin, 3.9 but when I check Load AMP Auto Ads Javascript in Customizer AMP, my AMP version is not valid anymore according with https://search.google.com/test/amp.

  •  2,700
    PenciDesign replied

    Hi,

    I see your site is fine when I check on the test amp page:

    https://search.google.com/test/amp?id=vZCxL8LKlpBhFhHrFZQqgA


    Best Regards,

    PenciDesign

  • Andres replied

    Yes, but because the auto ads option is not checked... At the moment I check that option I have that issue. 

  •  2,700
    PenciDesign replied

    Hi,

    First, please go to Customizer AMP > Header > un-check on "Load AMP Auto Ads Javascript"

    After that, check again the guide here:

    https://support.google.com/adsense/answer/9261309?hl=en

    Google Adsense auto ads will give you 2 codes, one code required to add it inside <head> tag and one code required add inside <body> tag

    Let's add the code inside <head> tag via Customizer AMP > Header > Add Custom Code Inside <head> Tag

    And add the code inside <body> tag via Customizer AMP > Header > Add Custom Code after <body> Tag


    Best Regards,

    PenciDesign