您可以选择在商品信息库文件中设置元数据标签。这么做可使 Facebook 通过这一信息库将目录与您的应用相关联。一旦目录关联到您的应用,那么随后上传到该目录的信息库无需使用元数据标签。
在 TSV/CSV 信息库顶部或在 XML 信息库中的 metadata
标签中添加以下元素作为以空格分隔的注释:
ref_application_id
— 您的 Facebook 应用编号ref_asset_id
— 用于在您的系统中识别此信息库的唯一编号信息库格式 | 描述 |
---|---|
CSV | 元数据标签中带有参考信息的 CSV 信息库文件样本。 下载(右键点击 > 链接另存为) |
TSV | 元数据标签中带有参考信息的 TSV 信息库文件样本。 下载(右键点击 > 链接另存为) |
RSS XML | 元数据标签中带有参考信息的 RSS XML 信息库文件样本。 下载(右键点击 > 链接另存为) |
ATOM XML | 元数据标签中带有参考信息的 Atom XML 信息库文件样本。 下载(右键点击 > 链接另存为) |
# ref_application_id <YOUR_APP_ID> # ref_asset_id <YOUR_ASSET_ID> id title ios_url ios_app_store_id ios_app_name android_url android_package android_app_name windows_phone_url windows_phone_app_id windows_phone_app_name description google_product_category product_type link image_link condition availability price sale_price sale_price_effective_date gtin brand mpn item_group_id gender age_group color size shipping custom_label_0 DB_1 Dog Bowl In Blue example-ios://electronic/db_1 123 Electronic Example iOS example-android://electronic/db_1 com.electronic.example Electronic Example Android example-windows://electronic/db_1 64ec0d1b-5b3b-4c77-a86b-5e12d465edc0 Electronic Example Windows Solid plastic Dog Bowl in marine blue color Animals > Pet Supplies Bowls & Dining > Food & Water Bowls http://www.example.com/bowls/db-1.html https://www.facebook.com/images/product_image_template.png?id=1 new in stock 9.99 GBP Example DB_GROUP_1 UK::Standard:9.95 GBP "Made in Waterford, IE" ...
... <?xml version="1.0"?> <rss xmlns:g="http://base.google.com/ns/1.0" version="2.0"> <channel> <metadata> <ref_application_id><YOUR_APP_ID></ref_application_id> <ref_asset_id><YOUR_ASSET_ID></ref_asset_id> </metadata> </channel> </rss> ...
... <?xml version="1.0"?> <rss xmlns:g="http://base.google.com/ns/1.0" version="2.0"> <feed> <metadata> <ref_application_id><YOUR_APP_ID></ref_application_id> <ref_asset_id><YOUR_ASSET_ID></ref_asset_id> </metadata> </feed> </rss> ...