[[["易于理解","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"]],["最后更新时间 (UTC):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."]]