中繼資料標籤

您可以選擇在商品摘要檔中設定中繼資料標籤,Facebook 便能將使用此摘要的目錄歸因到您的應用程式。將目錄歸因到您的應用程式後,後續上傳到該目錄的摘要就不需要中繼標籤。

將以下元素作為空白分隔的註解包含在 TSV/CSV 摘要的最上方或 XML 摘要中的 metadata 標籤內:

  • ref_application_id - 您的 Facebook 應用程式編號
  • ref_asset_id - 系統中不重複識別此摘要的編號

摘要格式

摘要格式 說明

CSV

CSV 摘要檔範例,內容包含中繼資料標籤內的參考資訊。

下載(點擊右鍵 > 另存連結)

TSV

TSV 摘要檔範例,內容包含中繼資料標籤內的參考資訊。

下載(點擊右鍵 > 另存連結)

RSS XML

RSS XML 摘要檔範例,內容包含中繼資料標籤內的參考資訊。

下載(點擊右鍵 > 另存連結)

ATOM XML

Atom XML 摘要檔範例,內容包含中繼資料標籤內的參考資訊。

下載(點擊右鍵 > 另存連結)

範例 - TSV 摘要格式

# 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"
...

範例 - RSS XML 摘要格式

...
<?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>
...

範例 - ATOM XML 摘要格式

...
<?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>
...