Google Shopping description JSON

Solved
Excursionist
19 1 3

Hi,

it's my first question on the community so bear with me please.

Google shopping is not accepting products because of missing descriptions. 

How does google shopping pulls the description of a product?

Does it take it from product.body_html or the SEO Description field of the CSV template?

 

In case the description is taken from the body_html:

Instead of adding HTML in the description body I am putting  script tags and a list of objects containing product data. (Is this good practice ???)

<!-- The description as it shows in the "show HTML" textarea. -->
<script> features = { "key1":"value1", "key2":"value2", "key3":"value3" } files = { "file_name1":"href1", "file_name2":"href2", "file_name3":"href3" } </script>

The product template will render the data to the different sections of the description.

So until the page is not rendered there is no actual textContent but only javascript.

Is this why google can't read the description at all?

 

 

 

 

 

0 Likes
Shopify Partner
147 2 19

Missing product descriptions is related to the data feed and not the product landing page.

 

If you are using Shopping APP or a data feed management tool, or you have created a spreadsheet, you need to add the description.

 

If Shopping APP, and it is not added, then most likely your products don't have a description. Check your products and add it.

If a data feed management tool, check that the description is mapped, if you do not know how to check, contact the support team.

If it's a spreadsheet, ie: Google Sheet or text delimited, then add a column with the header description and add the values for each product.

 

Hope this helps.

Google Shopping Specialist - Data Feed Managment Tool
0 Likes
Excursionist
19 1 3

Hi @Emmanuel_Flossi thank you for your reply

Products do have a description.

If I export a csv from shopify under the description column (body html) I can see it.

The problem is that, because it is not html but javascript objects (as in the code above) I am wondering if google does not recognise it.

So the question is what formats are accepted for the description? HTML, plaintext, JSON?



Any idea?


0 Likes
Highlighted
Shopify Partner
147 2 19

Only plain text with some basic html tags, such as b, ul, li, ol, li

 

You can learn more here: https://support.google.com/merchants/answer/6324468

Google Shopping Specialist - Data Feed Managment Tool
0 Likes
Excursionist
19 1 3

After some googling I discovered that google pulls structured data by Microdata (the old way) and by JSON-LD (the recommended way).

I think most themes on Shopify use Microdata which is all those itemprop attributes you can see in the product.liquid template.

JSON-LD is recommended by Google and is considerate to be faster that its predecessor.

 @Emmanuel_Flossi  So it looks like google can read product attributes both from HTML and JSON.

 

You can use this tool to see what structured data google finds in a document with this tool.

 

I will try and use JSON-LD and see what happens.

 

0 Likes

Success.

Shopify Partner
147 2 19

When you create your own CSV data feed and submit this info to Google Merchant Center, then structured data has nothing to do with data feed warnings or errors.

 

You must submit plain text for the description, as explained here: https://support.google.com/merchants/answer/6324468

 

The only structured data used by Google Merchant Center is, price, availability and condition. Nothing else. All other data is optional.

However here too when adding microdata or JSON-LD to the theme, the resulting data must be plain text. It is recommended that you always add data server side, not client side (not javascript) Not all Google bots can read it. For example Google Shopping bot will not read javascript (only JSON-LD server side data)

 

Also note that you should never try, test, experiment when it comes to Google Merchant Center. Google expects you to submit correct data from day 1, as otherwise you are at risk of disapprovals and depending on the type of disapproval or policy violation a permanent suspension. Therefor, I recommend you read and understand the requirements here: https://support.google.com/merchants/answer/7052112?hl=en

 

Hope this helps.

 

Hope this helps.

Google Shopping Specialist - Data Feed Managment Tool
0 Likes
Excursionist
19 1 3

Thank you Emmanuel,

Yes that is helpful.

---

Structured data for Google Merchant Center

0 Likes