Skip to content
Public Ticket #2752

AMP in content ads

Conversation thread

Sankalan replied

Customer Reply

Okay, here is what I think: cache will rebuild after I empty it. Will it not recreate the problem?

PenciDesign replied

Staff Reply

Hi,

\

As I checked your site and on AMP pages - you have a cache caused that issue.


I see everything working fine via Appearance > Customizer AMP - But it's not update on the AMP pages I viewed without customizer.

So, please make sure you clearly all the cachesmile.png

\

Best Regards,
PenciDesign

Sankalan replied

Customer Reply

Okay, this error came from Google Search Console.

There are in total 662 pages that have the error.

Well, it is not literally possible to give the list of all 662 pages but a quick screenshot of a few are attached.

A complete list of all errors in search console are provided in another screenshot.

PenciDesign replied

Staff Reply

Hi,

\

1/ Please make sure you clearly all the cache.


2/ If it still appears, can you send me what's the AMP pages has this issues - url of that pages?

\

Best Regards,
PenciDesign

Sankalan replied

Customer Reply

More AMP errors:

Top new issues found, ordered by number of affected pages:

\

The inline 'style' attribute is not allowed in AMP documents. Use 'style amp-custom' tag instead.

\

The tag 'amp-carousel extension .js script' appears more than once in the document. This will soon be an error.

PenciDesign replied

Staff Reply

Hi,

\

This issue caused by you're using wrong google ads code on AMP.

\

Please note that you can't use same google adsense code on not AMP pages for AMP version.

\

As I see you're using google adsense code for single posts on AMP - Let's use correct format for google adsense ads like we said on the documentation.

\

Best Regards,

\

PenciDesign

Sankalan replied

Customer Reply

Okay, just received a message from Google Search Console about some error in AMP pages. The screenshot of the message is attached.

Please help me resolve this issue.

PenciDesign replied

Staff Reply

Hi,

1/ The adsense auto ads use a different codes for renders the ads. So, you need check the guide I sent for this.

2/ You can use logo with the height is 50px - the width is flexible based on the height.

Best Regards,

PenciDesign

Sankalan replied

Customer Reply

Can I use the method mentioned by you for Auto Ads?

Also...

What is the best logo size for AMP?

PenciDesign replied

Staff Reply

Hi,

\

You don't need to edit any AMP files. You can use options inside Appearance > Customizer AMP ( NOT Customize  ) > Header Options > "Custom Code for Header" & "Add Custom Codes After <body> Tag"

\ \

Best Regards,

\

PenciDesign

Sankalan replied

Customer Reply

Which AMP files do I need to edit to add Auto Ads?

PenciDesign replied

Staff Reply

Hi,

Please check this guide to know how to do that.

Best Regards,

PenciDesign

Sankalan replied

Customer Reply

For activating auto ads in amp version, do I need to use any plugin?

PenciDesign replied

Staff Reply

Hi,

Currently, there is no options for ads between content paragraphs. If you want to do that, let's try use google adsense auto ads on AMP.

Note: When you use google adsense auto ads - let's remove all other ad spaces because google adsense auto ads will auto insert ads for places on your site.

Best Regards,

PenciDesign

Sankalan started the conversation

Conversation Start

Have you enabled option for ads in between the content. Previously AMP version allowed ads in only these there positions:

  1. Above the post meta
  2. Below post image
  3. Below content

I said that for longform content, no ads between content paragraphs is a bummer. Did you do anything about that?

Want to join this conversation or access attachments? Sign in first.