Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp

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

A Plannable YouTube Select Lineup for product targeting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp

Returns a new instance of GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp.



55332
55333
55334
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55332

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

Instance Attribute Details

#lineup_idFixnum

The ID of the YouTube Select Lineup. Corresponds to the JSON property lineupId

Returns:

  • (Fixnum)


55325
55326
55327
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55325

def lineup_id
  @lineup_id
end

#lineup_nameString

The unique name of the YouTube Select Lineup. Corresponds to the JSON property lineupName

Returns:

  • (String)


55330
55331
55332
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55330

def lineup_name
  @lineup_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



55337
55338
55339
55340
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55337

def update!(**args)
  @lineup_id = args[:lineup_id] if args.key?(:lineup_id)
  @lineup_name = args[:lineup_name] if args.key?(:lineup_name)
end