--- v19/resources/ad_group.proto 2025-04-14 05:29:53.000000000 +0000 +++ v19-1/resources/ad_group.proto 2025-04-14 05:30:02.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: // @@ -254,4 +304,7 @@ 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
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-04-16 UTC