Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels

Returns a new instance of GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels.



15204
15205
15206
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15204

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#discoverBoolean Also known as: discover?

Whether to enable ads on the Discover channel. Corresponds to the JSON property discover

Returns:

  • (Boolean)


15171
15172
15173
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15171

def discover
  @discover
end

#display_propBoolean Also known as: display_prop?

Whether to enable ads on the Display channel. Corresponds to the JSON property display

Returns:

  • (Boolean)


15177
15178
15179
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15177

def display_prop
  @display_prop
end

#gmailBoolean Also known as: gmail?

Whether to enable ads on the Gmail channel. Corresponds to the JSON property gmail

Returns:

  • (Boolean)


15183
15184
15185
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15183

def gmail
  @gmail
end

#youtube_in_feedBoolean Also known as: youtube_in_feed?

Whether to enable ads on the YouTube In-Feed channel. Corresponds to the JSON property youtubeInFeed

Returns:

  • (Boolean)


15189
15190
15191
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15189

def youtube_in_feed
  @youtube_in_feed
end

#youtube_in_streamBoolean Also known as: youtube_in_stream?

Whether to enable ads on the YouTube In-Stream channel. Corresponds to the JSON property youtubeInStream

Returns:

  • (Boolean)


15195
15196
15197
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15195

def youtube_in_stream
  @youtube_in_stream
end

#youtube_shortsBoolean Also known as: youtube_shorts?

Whether to enable ads on the YouTube Shorts channel. Corresponds to the JSON property youtubeShorts

Returns:

  • (Boolean)


15201
15202
15203
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15201

def youtube_shorts
  @youtube_shorts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15209
15210
15211
15212
15213
15214
15215
15216
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15209

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