--- v18/resources/ad_group.proto 2025-08-05 14:36:07.000000000 +0000 +++ v19/resources/ad_group.proto 2025-08-05 14:36:19.000000000 +0000 @@ -56,6 +58,54 @@ bool use_audience_grouped = 1 [(google.api.field_behavior) = IMMUTABLE]; } + // Settings for Demand Gen ad groups. + message DemandGenAdGroupSettings { + // Channel controls for Demand Gen ad groups. + message DemandGenChannelControls { + // Explicitly selected channels for channel controls in Demand Gen ad + // groups. + message DemandGenSelectedChannels { + // Whether to enable ads on the YouTube In-Stream channel. + bool youtube_in_stream = 1; + + // Whether to enable ads on the YouTube In-Feed channel. + bool youtube_in_feed = 2; + + // Whether to enable ads on the YouTube Shorts channel. + bool youtube_shorts = 3; + + // Whether to enable ads on the Discover channel. + bool discover = 4; + + // Whether to enable ads on the Gmail channel. + bool gmail = 5; + + // Whether to enable ads on the Display channel. + bool display = 6; + } + + // Output only. Channel configuration reflecting which field in the oneof + // is populated. + google.ads.googleads.v19.enums.DemandGenChannelConfigEnum + .DemandGenChannelConfig channel_config = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Oneof between the different channel control configuration options. + oneof channel_configuration { + // High level channel strategy. + google.ads.googleads.v19.enums.DemandGenChannelStrategyEnum + .DemandGenChannelStrategy channel_strategy = 2; + + // Explicitly selected channels. This field should be set with at + // least one true value when present. + DemandGenSelectedChannels selected_channels = 3; + } + } + + // Channel controls for Demand Gen ad groups. + DemandGenChannelControls channel_controls = 1; + } + // Immutable. The resource name of the ad group. // Ad group resource names have the form: // @@ -251,7 +301,10 @@ // Output only. Provides reasons for why an ad group is not serving or not // serving optimally. - repeated google.ads.googleads.v18.enums.AdGroupPrimaryStatusReasonEnum + repeated google.ads.googleads.v19.enums.AdGroupPrimaryStatusReasonEnum .AdGroupPrimaryStatusReason primary_status_reasons = 63 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Settings for Demand Gen ad groups. + DemandGenAdGroupSettings demand_gen_ad_group_settings = 91; }
/resources/ad_group.proto
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-21 UTC."],[],[],null,["# /resources/ad_group.proto\n\n```diff\n--- v18/resources/ad_group.proto 2025-08-05 14:36:07.000000000 +0000\n+++ v19/resources/ad_group.proto 2025-08-05 14:36:19.000000000 +0000\n@@ -56,6 +58,54 @@\n bool use_audience_grouped = 1 [(google.api.field_behavior) = IMMUTABLE];\n }\n\n+ // Settings for Demand Gen ad groups.\n+ message DemandGenAdGroupSettings {\n+ // Channel controls for Demand Gen ad groups.\n+ message DemandGenChannelControls {\n+ // Explicitly selected channels for channel controls in Demand Gen ad\n+ // groups.\n+ message DemandGenSelectedChannels {\n+ // Whether to enable ads on the YouTube In-Stream channel.\n+ bool youtube_in_stream = 1;\n+\n+ // Whether to enable ads on the YouTube In-Feed channel.\n+ bool youtube_in_feed = 2;\n+\n+ // Whether to enable ads on the YouTube Shorts channel.\n+ bool youtube_shorts = 3;\n+\n+ // Whether to enable ads on the Discover channel.\n+ bool discover = 4;\n+\n+ // Whether to enable ads on the Gmail channel.\n+ bool gmail = 5;\n+\n+ // Whether to enable ads on the Display channel.\n+ bool display = 6;\n+ }\n+\n+ // Output only. Channel configuration reflecting which field in the oneof\n+ // is populated.\n+ google.ads.googleads.v19.enums.DemandGenChannelConfigEnum\n+ .DemandGenChannelConfig channel_config = 1\n+ [(google.api.field_behavior) = OUTPUT_ONLY];\n+\n+ // Oneof between the different channel control configuration options.\n+ oneof channel_configuration {\n+ // High level channel strategy.\n+ google.ads.googleads.v19.enums.DemandGenChannelStrategyEnum\n+ .DemandGenChannelStrategy channel_strategy = 2;\n+\n+ // Explicitly selected channels. This field should be set with at\n+ // least one true value when present.\n+ DemandGenSelectedChannels selected_channels = 3;\n+ }\n+ }\n+\n+ // Channel controls for Demand Gen ad groups.\n+ DemandGenChannelControls channel_controls = 1;\n+ }\n+\n // Immutable. The resource name of the ad group.\n // Ad group resource names have the form:\n //\n@@ -251,7 +301,10 @@\n\n // Output only. Provides reasons for why an ad group is not serving or not\n // serving optimally.\n- repeated google.ads.googleads.v18.enums.AdGroupPrimaryStatusReasonEnum\n+ repeated google.ads.googleads.v19.enums.AdGroupPrimaryStatusReasonEnum\n .AdGroupPrimaryStatusReason primary_status_reasons = 63\n [(google.api.field_behavior) = OUTPUT_ONLY];\n+\n+ // Settings for Demand Gen ad groups.\n+ DemandGenAdGroupSettings demand_gen_ad_group_settings = 91;\n }\n```"]]