[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,["# Channel controls\n\n[Channel controls](//support.google.com/google-ads/answer/15973205) in Demand\nGen campaigns allow you to choose where ads appear across Google's visual-first\nsurfaces, including YouTube, Gmail, Discover, as well as the Google Display\nNetwork.\n\nFor example, you can tailor Demand Gen campaigns to serve specifically on\nYouTube Shorts.\n\nYou can customize channel controls at the ad group level, using the\n[`demand_gen_ad_group_settings.channel_controls.channel_configuration`](/google-ads/api/reference/rpc/v21/AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls#channel_configuration)\nfield.\n\nConfigure channel controls\n--------------------------\n\nThere are three possible configurations:\n\n### All channels (default)\n\nThis is the default strategy, and it will deliver impressions\non all channels supported by Demand Gen.\n\nTo enable this, set the `channel_strategy` property to `ALL_CHANNELS`: \n\n \"demand_gen_ad_group_settings\": {\n \"channel_controls\": {\n \"channel_strategy\": \"ALL_CHANNELS\"\n }\n }\n\n### All channels owned and operated by Google\n\nThis strategy delivers impressions on all channels owned and operated by Google,\nsuch as the Discover feed, Youtube, Gmail and Maps. Channels operated by third\nparties, such as the Display channel, are disabled.\n\nTo enable this configuration, set the `channel_strategy` property to\n`ALL_OWNED_AND_OPERATED_CHANNELS`: \n\n \"demand_gen_ad_group_settings\": {\n \"channel_controls\": {\n \"channel_strategy\": \"ALL_OWNED_AND_OPERATED_CHANNELS\"\n }\n }\n\n### Control each channel individually\n\nThis strategy offers the most granular level of control, by allowing you to\nselect which individual channel is enabled.\n\nEnable this strategy by populating the individual flags in the\n`selected_channels` property: setting an option to `true` means that a channel\nis enabled.\n\nFor example, this configuration enables an ad group to serve only on YouTube\nShorts: \n\n \"demand_gen_ad_group_settings\": {\n \"channel_controls\": {\n \"selected_channels\": {\n \"youtube_in_stream\": false,\n \"youtube_in_feed\": false,\n \"youtube_shorts\": true,\n \"discover\": false,\n \"gmail\": false,\n \"display\": false,\n \"maps\": false,\n }\n }\n }\n\nRetrieve channel controls\n-------------------------\n\nThe channel controls configuration can be queried from the `ad_group` resource: \n\n SELECT\n ad_group.id,\n ad_group.demand_gen_ad_group_settings.channel_controls.channel_config,\n ad_group.demand_gen_ad_group_settings.channel_controls.channel_strategy,\n ad_group.demand_gen_ad_group_settings.channel_controls.selected_channels.youtube_in_feed,\n ad_group.demand_gen_ad_group_settings.channel_controls.selected_channels.youtube_in_stream,\n ad_group.demand_gen_ad_group_settings.channel_controls.selected_channels.youtube_shorts,\n ad_group.demand_gen_ad_group_settings.channel_controls.selected_channels.discover,\n ad_group.demand_gen_ad_group_settings.channel_controls.selected_channels.display,\n ad_group.demand_gen_ad_group_settings.channel_controls.selected_channels.gmail,\n ad_group.demand_gen_ad_group_settings.channel_controls.selected_channels.maps\n FROM ad_group\n\nUse the [`channel_config`](/google-ads/api/reference/rpc/v21/DemandGenChannelConfigEnum.DemandGenChannelConfig)\nproperty to determine whether an ad group is using the `CHANNEL_STRATEGY`\nconfiguration or the `SELECTED_CHANNELS` configuration."]]