Google Merchant Center:Content API-如何将产品添加到输入类型本地产品的数据Feed中

我正在使用php,我已经使用contentType为“本地产品”的内容API创建了数据Feed。

$apiUrl = "https://www.googleapis.com/content/v2.1/[Merchant_Id]/datafeeds?access_token=".[API_token];
$request = array(
   "contentType"=>"local products","fileName"=>"local_datafeedfile","name"=>"Local Datafeed","targets"=>array(
          array(
           "country"=>"IN","language"=>"EN"
          )
       )
   );

现在,我需要将产品添加到此数据Feed中。 我正在使用此api添加产品

https://www.googleapis.com/content/v2.1/[Merchant_Id]/products?feedId=[Feed_id]&access_token=".[API_token];

问题是[Feed_id]始终显示 [feedId]无效的供稿ID:xxxxxxxx 我在从上述请求添加本地商品数据Feed时生成的feed_id使用了相同的ID

iCMS 回答:Google Merchant Center:Content API-如何将产品添加到输入类型本地产品的数据Feed中

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/1751110.html

大家都在问