--- 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
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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```"]]