--- v19/resources/campaign.proto 2025-08-05 14:37:39.000000000 +0000 +++ v20/resources/campaign.proto 2025-08-05 14:37:46.000000000 +0000 @@ -328,8 +331,37 @@ optional bool allow_shorts = 3; } - // Inventory control for video responsive ads in reach campaigns. - VideoAdInventoryControl video_ad_inventory_control = 1; + // Format-restricting control enabling usage of video responsive ads in + // format defined Video campaigns (for example, non-skippable). + message VideoAdFormatControl { + // All contained responsive ads are expected to respect this restriction. + google.ads.googleads.v20.enums.VideoAdFormatRestrictionEnum + .VideoAdFormatRestriction format_restriction = 1; + + // Restrictions for non-skippable format. + NonSkippableInStreamRestrictions non_skippable_in_stream_restrictions = 2; + } + + // Restrictions for non-skippable format. + message NonSkippableInStreamRestrictions { + // The minimum allowed duration for non-skippable ads. + google.ads.googleads.v20.enums.NonSkippableMinDurationEnum + .NonSkippableMinDuration min_duration = 1; + + // The maximum allowed duration for non-skippable ads. + google.ads.googleads.v20.enums.NonSkippableMaxDurationEnum + .NonSkippableMaxDuration max_duration = 2; + } + + // Controls for defining video responsive ads behavior. + oneof fluidity_control { + // Inventory control for video responsive ads in reach campaigns. + VideoAdInventoryControl video_ad_inventory_control = 2; + + // Format-restricting control enabling usage of video responsive ads in + // format defined Video campaigns (for example, non-skippable). + VideoAdFormatControl video_ad_format_control = 3; + } } // Settings for Performance Max campaigns.
/resources/campaign.proto
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-21 (世界標準時間)。
[null,null,["上次更新時間:2025-08-21 (世界標準時間)。"],[],[],null,["# /resources/campaign.proto\n\n```diff\n--- v19/resources/campaign.proto 2025-08-05 14:37:39.000000000 +0000\n+++ v20/resources/campaign.proto 2025-08-05 14:37:46.000000000 +0000\n@@ -328,8 +331,37 @@\n optional bool allow_shorts = 3;\n }\n\n- // Inventory control for video responsive ads in reach campaigns.\n- VideoAdInventoryControl video_ad_inventory_control = 1;\n+ // Format-restricting control enabling usage of video responsive ads in\n+ // format defined Video campaigns (for example, non-skippable).\n+ message VideoAdFormatControl {\n+ // All contained responsive ads are expected to respect this restriction.\n+ google.ads.googleads.v20.enums.VideoAdFormatRestrictionEnum\n+ .VideoAdFormatRestriction format_restriction = 1;\n+\n+ // Restrictions for non-skippable format.\n+ NonSkippableInStreamRestrictions non_skippable_in_stream_restrictions = 2;\n+ }\n+\n+ // Restrictions for non-skippable format.\n+ message NonSkippableInStreamRestrictions {\n+ // The minimum allowed duration for non-skippable ads.\n+ google.ads.googleads.v20.enums.NonSkippableMinDurationEnum\n+ .NonSkippableMinDuration min_duration = 1;\n+\n+ // The maximum allowed duration for non-skippable ads.\n+ google.ads.googleads.v20.enums.NonSkippableMaxDurationEnum\n+ .NonSkippableMaxDuration max_duration = 2;\n+ }\n+\n+ // Controls for defining video responsive ads behavior.\n+ oneof fluidity_control {\n+ // Inventory control for video responsive ads in reach campaigns.\n+ VideoAdInventoryControl video_ad_inventory_control = 2;\n+\n+ // Format-restricting control enabling usage of video responsive ads in\n+ // format defined Video campaigns (for example, non-skippable).\n+ VideoAdFormatControl video_ad_format_control = 3;\n+ }\n }\n\n // Settings for Performance Max campaigns.\n```"]]