4

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

当我以英语以外的其他语言向 Google Merchant 上传提要时,报告告诉我有许多“无法识别的属性”应该是有效的,例如titlelinkdescriptiongtin等。

事实上,所有属性都被视为来自 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>
4

2 回答 2

1

您是否尝试过将“Feed 类型”更改为“产品”而不是“在线产品库存更新”?自 2015 年以来发生了变化。

于 2016-02-19T15:16:46.497 回答
1

我假设您将其作为 XML 上传。

您是否正确编码您的xml?

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

对于拉丁语 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

我希望这有帮助!

于 2016-02-19T14:38:48.440 回答