图谱 API 版

Product Feed Upload Error

You may experience errors in your Product Feed, with varying severities.

Errors that are fatal mean those items are not created, while errors with a severity of warning are informational but items are created.

Even when you see items with severity fatal the rest of the products with no errors are created.

读取

A Product Feed Upload Error object

Examples

curl -G \
-d "access_token=<ACCESS_TOKEN>" \
https://graph.facebook.com/<API_VERSION>/<UPLOAD_ID>/errors

The response:

{
  "data": [
    { 
      "id" : 1510567479166488,
      "summary" : "Group Mismatch for Property: shipping.",
      "description" : "Property shipping must have the same value for all items in the same group.",
      "severity" : "fatal",  
      "row_number" : 10,
      "column_number" : 5
    },
    { 
      "id" : 275241589314958,
      "summary" : "Price Without Currency for Property: shipping_price_value, shipping_price_currency",
      "description" : "Property shipping_price_value, shipping_price_currency is a price that has been specified without a currency.",
      "severity" : "warning",  
      "row_number" : 17,
      "column_number" : 40
    }
  ]
}

参数

这个端点不包含任何参数。

字段

字段描述
id
numeric string

ID of the product feed upload error

affected_surfaces
list<enum {Dynamic Ads, Marketplace, US Marketplace}>

The ad type (e.g. Dynamic Ads) or surface (e.g. Marketplace) that will be affected by this error

description
string

Longer user-readable description of the error

error_type
enum

Type of the error encountered in the feed upload

severity
enum {fatal, warning}

Severity of the error

summary
string

Short user-readable summary of the error

total_count
unsigned int32

Total count of errors of this type in the product feed file

连线

连线描述
Edge<ProductFeedUploadErrorSample>

Samples (concrete instances) of the error

Edge<ProductFeedRuleSuggestion>

Specifications for suggested rulesthat might fix this error

错误代码

错误描述
100Invalid parameter

创建

你无法在此端点执行该操作。

更新

你无法在此端点执行该操作。

删除

你无法在此端点执行该操作。