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.



56511
56512
56513
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56511

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)


56504
56505
56506
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56504

def lineup_id
  @lineup_id
end

#lineup_nameString

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

Returns:

  • (String)


56509
56510
56511
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56509

def lineup_name
  @lineup_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



56516
56517
56518
56519
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56516

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