Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
Explicitly selected channels for channel controls in Demand Gen ad groups.
Instance Attribute Summary collapse
-
#discover ⇒ Boolean
(also: #discover?)
Whether to enable ads on the Discover channel.
-
#display_prop ⇒ Boolean
(also: #display_prop?)
Whether to enable ads on the Display channel.
-
#gmail ⇒ Boolean
(also: #gmail?)
Whether to enable ads on the Gmail channel.
-
#youtube_in_feed ⇒ Boolean
(also: #youtube_in_feed?)
Whether to enable ads on the YouTube In-Feed channel.
-
#youtube_in_stream ⇒ Boolean
(also: #youtube_in_stream?)
Whether to enable ads on the YouTube In-Stream channel.
-
#youtube_shorts ⇒ Boolean
(also: #youtube_shorts?)
Whether to enable ads on the YouTube Shorts channel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels
constructor
A new instance of GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels
Returns a new instance of GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels.
15144 15145 15146 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15144 def initialize(**args) update!(**args) end |
Instance Attribute Details
#discover ⇒ Boolean Also known as: discover?
Whether to enable ads on the Discover channel.
Corresponds to the JSON property discover
15111 15112 15113 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15111 def discover @discover end |
#display_prop ⇒ Boolean Also known as: display_prop?
Whether to enable ads on the Display channel.
Corresponds to the JSON property display
15117 15118 15119 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15117 def display_prop @display_prop end |
#gmail ⇒ Boolean Also known as: gmail?
Whether to enable ads on the Gmail channel.
Corresponds to the JSON property gmail
15123 15124 15125 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15123 def gmail @gmail end |
#youtube_in_feed ⇒ Boolean Also known as: youtube_in_feed?
Whether to enable ads on the YouTube In-Feed channel.
Corresponds to the JSON property youtubeInFeed
15129 15130 15131 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15129 def youtube_in_feed @youtube_in_feed end |
#youtube_in_stream ⇒ Boolean Also known as: youtube_in_stream?
Whether to enable ads on the YouTube In-Stream channel.
Corresponds to the JSON property youtubeInStream
15135 15136 15137 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15135 def youtube_in_stream @youtube_in_stream end |
#youtube_shorts ⇒ Boolean Also known as: youtube_shorts?
Whether to enable ads on the YouTube Shorts channel.
Corresponds to the JSON property youtubeShorts
15141 15142 15143 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15141 def youtube_shorts @youtube_shorts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15149 15150 15151 15152 15153 15154 15155 15156 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15149 def update!(**args) @discover = args[:discover] if args.key?(:discover) @display_prop = args[:display_prop] if args.key?(:display_prop) @gmail = args[:gmail] if args.key?(:gmail) @youtube_in_feed = args[:youtube_in_feed] if args.key?(:youtube_in_feed) @youtube_in_stream = args[:youtube_in_stream] if args.key?(:youtube_in_stream) @youtube_shorts = args[:youtube_shorts] if args.key?(:youtube_shorts) end |