商家帐户 – Google Merchant会发出警告“无法识别的属性”

我面临一个我无法解释的问题:

当我使用除英语以外的其他语言向Google Merchant上传Feed时,报告会告诉我有许多“无法识别的属性”应该是有效的,例如标题,链接,说明,gtin等.

事实上,所有属性都被视为来自Google的警告.
但问题只发生在它不是英文的情况下,所以我的提要似乎是正确的.

怎么了?你有什么想法?

谢谢您帮忙.

这是我的出口转储(针对一个产品):

<?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>

最佳答案 我假设您将其作为XML上传.

你正确编码你的xml?

如果您要提交使用Latin-1或UTF-16编码的XML文件,请确保在XML文件中指定此信息.为此,请将数据Feed的第一行更改为:

对于Latin-1:
     <?xml version =“1.0”encoding =“ISO-8859-1”?>

对于UTF-16:
     <?xml version =“1.0”encoding =“UTF-16”?>

我从这里读到这个:
https://support.google.com/merchants/answer/160079

此外,您是否尝试使用XML转义工具?如http://www.freeformatter.com/xml-escape.html

我希望这有帮助!

点赞