--- 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
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):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```"]]