自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。如要進一步瞭解如何更新整合服務以進行這項聲明,請參閱
淘汰項目頁面。
SdfDownloadTask
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"resourceName": string
} |
欄位 |
resourceName |
string
要在 media.download 中下載已準備檔案的資源名稱。資源名稱的格式為 download/sdfdownloadtasks/media/{mediaId} 。工作狀態完成後,長時間執行的作業服務將提供 mediaId 。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThe response for CreateSdfDownloadTask is represented in JSON format using the \u003ccode\u003eresourceName\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eresourceName\u003c/code\u003e is a string that provides a path for downloading files through \u003ccode\u003emedia.download\u003c/code\u003e, utilizing a \u003ccode\u003emediaId\u003c/code\u003e generated upon task completion.\u003c/p\u003e\n"]]],["The content describes the JSON representation and fields for the response of `SdfDownloadTaskService.CreateSdfDownloadTask`. The response includes a single field, `resourceName`, which is a string. This `resourceName` is utilized in `media.download` to retrieve the prepared files, following the format `download/sdfdownloadtasks/media/{mediaId}`. The `mediaId`, part of the resource name, becomes available when the long-running operation task is complete.\n"],null,["# SdfDownloadTask\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\nType for the [response](/display-video/api/reference/rest/v3/sdfdownloadtasks.operations#Operation.FIELDS.response) returned by [SdfDownloadTaskService.CreateSdfDownloadTask](/display-video/api/reference/rest/v3/sdfdownloadtasks/create#google.ads.displayvideo.v3.SdfDownloadTaskService.CreateSdfDownloadTask).\n\n| JSON representation |\n|------------------------------------|\n| ``` { \"resourceName\": string } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `resourceName` | `string` A resource name to be used in `media.download` to Download the prepared files. Resource names have the format `download/sdfdownloadtasks/media/{mediaId}`. `mediaId` will be made available by the long running operation service once the task status is done. |"]]