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.



56427
56428
56429
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56427

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)


56420
56421
56422
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56420

def lineup_id
  @lineup_id
end

#lineup_nameString

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

Returns:

  • (String)


56425
56426
56427
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56425

def lineup_name
  @lineup_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



56432
56433
56434
56435
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56432

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