Google Merchant throws warning "Unrecognized attribute"

869 views Asked by At

I'm facing an issue I can not explain :

When I'm uploading a feed to Google Merchant in an other language than English, the reports tells me there is many "Unrecognized attribute" that should be valid, like title, link, description, gtin, etc.

In fact, all attributes are considered warning from Google. But the issue only occurs if it's not in english so my feed seems correct.

What is wrong? Do you have any ideas?

Thank for your help.

Here's a dump of my export (strimed to one product) :

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">
<channel>
<title>Google Shopping export for PrestaShop</title>
<item>
<g:id xmlns:g="http://base.google.com/ns/1.0">12345</g:id>
<title>
<![CDATA[ Basic title ]]>
</title>
<link>
<![CDATA[
https://www.example.com/test
]]>
</link>
<description>
<![CDATA[
This is a basic product
]]>
</description>
<g:quantity xmlns:g="http://base.google.com/ns/1.0">39</g:quantity>
<g:availability xmlns:g="http://base.google.com/ns/1.0">
<![CDATA[ in stock ]]>
</g:availability>
<g:price xmlns:g="http://base.google.com/ns/1.0">8.54 EUR</g:price>
<g:product_type xmlns:g="http://base.google.com/ns/1.0">
<![CDATA[ Ofertas > Ofertas ]]>
</g:product_type>
<g:google_product_category xmlns:g="http://base.google.com/ns/1.0">
<![CDATA[
Alimentaci&oacute;n, bebida y tabaco &gt; Bebidas &gt; Vino
]]>
</g:google_product_category>
<g:shipping_weight xmlns:g="http://base.google.com/ns/1.0">1.4 kg</g:shipping_weight>
<g:online_only xmlns:g="http://base.google.com/ns/1.0">n</g:online_only>
<g:condition xmlns:g="http://base.google.com/ns/1.0">new</g:condition>
<g:brand xmlns:g="http://base.google.com/ns/1.0">Angove Family Winemakers</g:brand>
<g:mpn xmlns:g="http://base.google.com/ns/1.0">23500023</g:mpn>
<g:gtin xmlns:g="http://base.google.com/ns/1.0"/>
<identifier_exists>FALSE</identifier_exists>
<g:image_link xmlns:g="http://base.google.com/ns/1.0">
<![CDATA[
http://example.com/test/images/1.jpg
]]>
</g:image_link>
<g:shipping xmlns:g="http://base.google.com/ns/1.0">
<g:country>ES</g:country>
<g:service>
<![CDATA[ ENVIALIA-72H ]]>
</g:service>
<g:price>24.2 EUR</g:price>
</g:shipping>
</item>
</channel>
</rss>
3

There are 3 answers

2
Octanic On

I presume you are uploading this as XML.

Are you encoding correctly your xml?

If you're submitting an XML file that uses either Latin-1 or UTF-16 encoding, please make sure you specify this information in your XML file. To do this, please change the first line of your data feed from to:

For Latin-1: <?xml version="1.0" encoding="ISO-8859-1"?>

For UTF-16: <?xml version="1.0" encoding="UTF-16"?>

I read this from here: https://support.google.com/merchants/answer/160079

Also, have you tried to use a XML escape tool? Such as http://www.freeformatter.com/xml-escape.html

I hope this helps!

4
IceFire On

Have you tried changing the "feed type" to "product" instead of "online product inventory update"? There has been a change since 2015.

0
panariga On
<identifier_exists>FALSE</identifier_exists>

should be

<g:identifier_exists>false</g:identifier_exists>

also you have excessive CDATA usage. I don't have any in my XML and it works jut fine. try to submit file without CDATA`s