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.
15078 15079 15080 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15078 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
15045 15046 15047 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15045 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
15051 15052 15053 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15051 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
15057 15058 15059 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15057 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
15063 15064 15065 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15063 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
15069 15070 15071 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15069 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
15075 15076 15077 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15075 def youtube_shorts @youtube_shorts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15083 15084 15085 15086 15087 15088 15089 15090 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15083 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 |