--- 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
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-04-16 (世界標準時間)。