自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。如要進一步瞭解如何更新整合服務以進行這項聲明,請參閱
淘汰項目頁面。
Environment
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
ENVIRONMENT_UNSPECIFIED |
在這個版本中未指定環境時的預設值。這個列舉是預設值的預留位置,並非實際環境選項。 |
ENVIRONMENT_WEB_OPTIMIZED |
指定在瀏覽器中顯示的廣告空間。這包括專為廣告顯示所在裝置而設計的廣告空間,例如在行動裝置上顯示的行動網站。如果指定了 ENVIRONMENT_WEB_NOT_OPTIMIZED,請在刪除這個指定選項之前先刪除。 |
ENVIRONMENT_WEB_NOT_OPTIMIZED |
指定在瀏覽器中顯示的廣告空間。這包括非專為裝置設計,但可在裝置上顯示的廣告空間 (例如已針對電腦進行最佳化,但可透過行動裝置瀏覽的網站)。新增這個指定目標選項前,應先指定 ENVIRONMENT_WEB_OPTIMIZED。 |
ENVIRONMENT_APP |
指定在應用程式中顯示的廣告空間。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# Environment\n\nPossible environment targeting options.\n\n| Enums ||\n|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ENVIRONMENT_UNSPECIFIED` | Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option. |\n| `ENVIRONMENT_WEB_OPTIMIZED` | Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option. |\n| `ENVIRONMENT_WEB_NOT_OPTIMIZED` | Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option. |\n| `ENVIRONMENT_APP` | Target inventory displayed in apps. |"]]