1
votes

I added a logo to amp pages and now I am getting

"A value for the logo field is required"

error in google structured data testing tool here: https://search.google.com/structured-data/testing-tool#url=http:%2F%2Fwww.timesnews.co.uk%2F9516-lg-g-pad-iii-8-0-launched-us-korea-240%2Famp%2F

How to fix this error and a warning showing below this page?

1

1 Answers

1
votes

You are getting this error because your "publisher" field in your json does not have a "logo" property:

Your JSON:

"publisher":{"@type":"Organization","name":"Times News UK, World, Gadgets, Mobiles News"},...

Correct format of "publisher" json:

"publisher":{"@type":"Organization","name":"Times News UK, World, Gadgets, Mobiles News", "logo":{"@type":"ImageObject","url":"http://...","width":"XXX","height":"YYY"}},...

The logo property needs to be within the publisher object.