• Google Webmaster tools is showing up an AMP error against all my pages. I believe the line of code is related to AMP but not 100% sure.

    Here is an example…

    <script type="application/ld+json">{"@context":"http:\/\/schema.org","@type":"BlogPosting","mainEntityOfPage":"http:\/\/www.artiss.co.uk\/2010\/02\/clearing-all-data-from-the-nokia-n95\/","publisher":{"@type":"Organization","name":"David Artiss","logo":{"@type":"ImageObject","url":"http:\/\/i1.wp.com\/www.artiss.co.uk\/wp-content\/uploads\/2016\/05\/cropped-cropped-Face-Side-1.jpg?fit=32%2C32","height":32,"width":32}},"headline":"Clearing all data from the Nokia N95","datePublished":"2010-02-02T19:37:30+00:00","dateModified":"2010-02-02T19:37:30+00:00","author":{"@type":"Person","name":"David"}}</script>

    Google is stating that, for this line, “A value for the image field is required.”

    https://www.ads-software.com/plugins/amp/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same here!

    same here

    You must have a featured image on each post that you want to be “valid” structured data-wise. Google needs the image in order to show the card at the top of search results, so basically they consider a post invalid if it’s missing.

    See: https://developers.google.com/search/docs/data-types/articles

    You’ll find that any post WITH a featured image is marked as valid automatically because the AMP WP plugin inserts the featured image info into the metadata for you (unlike the logo which you have to insert with code as demoed here: https://github.com/Automattic/amp-wp

    THAT SAID: I wish this was more explicit in the documentation as it can be very confusing, and anyone expecting AMP to get their posts into search will be disappointed to learn that they aren’t because of missing featured images.

    Thanks.

    IMHO, this requirement is not fair. My blog has many short status update like post, when i never set a featured image, because it’s not need for the content. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AMP validation errors in Google’ is closed to new replies.