自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。如要進一步瞭解如何更新整合服務以進行這項聲明,請參閱
淘汰項目頁面。
SdfConfig
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"version": enum (SdfVersion ),
"adminEmail": string
} |
欄位 |
version |
enum (SdfVersion )
必要欄位。使用的 SDF 版本。
|
adminEmail |
string
管理員的電子郵件地址,用於接收 SDF 處理狀態報表。
|
SdfVersion
列舉 |
SDF_VERSION_UNSPECIFIED |
這個版本未指定或不明結構化資料檔案版本值。 |
SDF_VERSION_3_1 |
SDF 3.1 版 |
SDF_VERSION_4 |
SDF 第 4 版 |
SDF_VERSION_4_1 |
SDF 4.1 版 |
SDF_VERSION_4_2 |
SDF 4.2 版 |
SDF_VERSION_5 |
SDF 第 5 版。 |
SDF_VERSION_5_1 |
SDF 5.1 版 |
SDF_VERSION_5_2 |
SDF 5.2 版 |
SDF_VERSION_5_3 |
SDF 5.3 版 |
SDF_VERSION_5_4 |
SDF 5.4 版 |
SDF_VERSION_5_5 |
SDF 5.5 版 |
SDF_VERSION_6 |
SDF 第 6 版 |
SDF_VERSION_7 |
SDF 第 7 版。 如要遷移至這個版本,請先參閱 v7 遷移指南。 |
SDF_VERSION_7_1 |
SDF 7.1 版。 如要遷移至這個版本,請先參閱 v7 遷移指南。 |
SDF_VERSION_8 |
SDF 第 8 版。 遷移至這個版本前,請先參閱 v8 遷移指南。 |
SDF_VERSION_8_1 |
SDF 8.1 版。 |
SDF_VERSION_9 |
SDF 第 9 版。 遷移至這個版本前,請先參閱 v9 遷移指南。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-21 (世界標準時間)。
[null,null,["上次更新時間:2025-08-21 (世界標準時間)。"],[[["\u003cp\u003eStructured Data File (SDF) settings allow you to define the SDF version and provide an admin email for processing status reports.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eversion\u003c/code\u003e field is required and specifies the SDF version being used, while the \u003ccode\u003eadminEmail\u003c/code\u003e field is optional and used for receiving status reports.\u003c/p\u003e\n"],["\u003cp\u003eAvailable SDF versions range from SDF_VERSION_UNSPECIFIED to SDF_VERSION_8, with most previous versions deprecated and SDF_VERSION_8 currently in beta.\u003c/p\u003e\n"],["\u003cp\u003eSDF version 7 and 7.1 require consulting the v7 migration guide before use.\u003c/p\u003e\n"]]],["The content details Structured Data File (SDF) settings, represented in JSON with `version` and `adminEmail`. The `version` field is required and specifies the SDF version using an enum, while `adminEmail` is a string for receiving processing status reports. Available SDF versions range from `SDF_VERSION_UNSPECIFIED` to `SDF_VERSION_8`, with versions prior to 6 being deprecated. Versions 7, 7.1 and 8 require reading the respective migration guides.\n"],null,["# SdfConfig\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [SdfVersion](#SdfVersion)\n\nStructured Data File (SDF) related settings.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------|\n| ``` { \"version\": enum (/display-video/api/reference/rest/v3/SdfConfig#SdfVersion), \"adminEmail\": string } ``` |\n\n| Fields ||\n|--------------|-----------------------------------------------------------------------------------------------------------------------------|\n| `version` | `enum (`[SdfVersion](/display-video/api/reference/rest/v3/SdfConfig#SdfVersion)`)` Required. The version of SDF being used. |\n| `adminEmail` | `string` An administrator email address to which the SDF processing status reports will be sent. |\n\nSdfVersion\n----------\n\nPossible versions of SDF.\n\n| Enums ||\n|---------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `SDF_VERSION_UNSPECIFIED` | SDF version value is not specified or is unknown in this version. |\n| `SDF_VERSION_3_1` | SDF version 3.1 | This item is deprecated! |\n| `SDF_VERSION_4` | SDF version 4 | This item is deprecated! |\n| `SDF_VERSION_4_1` | SDF version 4.1 | This item is deprecated! |\n| `SDF_VERSION_4_2` | SDF version 4.2 | This item is deprecated! |\n| `SDF_VERSION_5` | SDF version 5. | This item is deprecated! |\n| `SDF_VERSION_5_1` | SDF version 5.1 | This item is deprecated! |\n| `SDF_VERSION_5_2` | SDF version 5.2 | This item is deprecated! |\n| `SDF_VERSION_5_3` | SDF version 5.3 | This item is deprecated! |\n| `SDF_VERSION_5_4` | SDF version 5.4 | This item is deprecated! |\n| `SDF_VERSION_5_5` | SDF version 5.5 | This item is deprecated! |\n| `SDF_VERSION_6` | SDF version 6 | This item is deprecated! |\n| `SDF_VERSION_7` | SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version. |\n| `SDF_VERSION_7_1` | SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version. |\n| `SDF_VERSION_8` | SDF version 8. Read the [v8 migration guide](/display-video/api/structured-data-file/v8-migration-guide) before migrating to this version. |\n| `SDF_VERSION_8_1` | SDF version 8.1. |\n| `SDF_VERSION_9` | SDF version 9. Read the [v9 migration guide](/display-video/api/structured-data-file/v9-migration-guide) before migrating to this version. |"]]