Google Merchant产品Feed

时间:2018-07-04 10:19:30

标签: php drupal google-apps

我正在使用xml文件从我的系统将产品发送到google商人productfeed。我有“免运费”和“承运人计算器”两种产品。但是带有承运人计算器的产品也在Google广告中显示“免费送货”。以下是我的代码。

免费送货

<item id="748">
    <g:id>748</g:id>
    <g:title>Product Title</g:title>
    <g:description>Product Description</g:description>
    <g:link>https://www.example.com/node/1117</g:link>
    <g:image_link>https://www.example.com/sites/default/files/sales/image/jpeg/sales_1.jpg</g:image_link>
    <g:condition>new</g:condition>
    <g:availability>in stock</g:availability>
    <g:price>1,073.50 USD</g:price>
    <g:shipping>
        <g:country>US</g:country>
        <g:service>Standard Free Shipping</g:service>
        <g:price>0 USD</g:price>
    </g:shipping>
    <g:brand/>
    <g:google_product_category>Cameras & Optics</g:google_product_category>
    <g:mpn/>
    <g:GTIN/>
    <g:identifier_exists>no</g:identifier_exists>
</item>

运营商计算器

<item id="748">
    <g:id>748</g:id>
    <g:title>Product Title</g:title>
    <g:description>Product Description</g:description>
    <g:link>https://www.example.com/node/1117</g:link>
    <g:image_link>https://www.example.com/sites/default/files/sales/image/jpeg/sales_1.jpg</g:image_link>
    <g:condition>new</g:condition>
    <g:availability>in stock</g:availability>
    <g:price>1,073.50 USD</g:price>
    <g:shipping_length>2.00 in</g:shipping_length>
    <g:shipping_height>2.00 in</g:shipping_height>
    <g:shipping_width>2.00 in</g:shipping_width>
    <g:shipping_weight>2.00 lb</g:shipping_weight>
    <g:shipping_label>carrier-calculated</g:shipping_label>
    <g:brand/>
    <g:google_product_category>Cameras & Optics</g:google_product_category>
    <g:mpn/>
    <g:GTIN/>
    <g:identifier_exists>no</g:identifier_exists>
</item>

请指导我错了。预先感谢。

0 个答案:

没有答案