Class: Google::Apis::DfareportingV5::YoutubeSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb

Overview

Contains the YouTube settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YoutubeSettings

Returns a new instance of YoutubeSettings.



13961
13962
13963
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13961

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

Instance Attribute Details

#business_logo_creative_idsArray<Fixnum>

Optional. The IDs of the creatives to use for the business logo. Currently only one creative is supported. Corresponds to the JSON property businessLogoCreativeIds

Returns:

  • (Array<Fixnum>)


13933
13934
13935
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13933

def business_logo_creative_ids
  @business_logo_creative_ids
end

#business_nameString

Optional. The business name. Corresponds to the JSON property businessName

Returns:

  • (String)


13938
13939
13940
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13938

def business_name
  @business_name
end

#call_to_actionsArray<String>

Optional. The call to actions. Currently only one call to action is supported. Corresponds to the JSON property callToActions

Returns:

  • (Array<String>)


13943
13944
13945
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13943

def call_to_actions
  @call_to_actions
end

#descriptionsArray<String>

Optional. The descriptions. Currently only one description is supported. Corresponds to the JSON property descriptions

Returns:

  • (Array<String>)


13948
13949
13950
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13948

def descriptions
  @descriptions
end

#headlinesArray<String>

Optional. The headlines associated with the call to actions. Currently only one headline is supported. Corresponds to the JSON property headlines

Returns:

  • (Array<String>)


13954
13955
13956
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13954

def headlines
  @headlines
end

#long_headlinesArray<String>

Optional. The long headlines. Currently only one long headline is supported. Corresponds to the JSON property longHeadlines

Returns:

  • (Array<String>)


13959
13960
13961
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13959

def long_headlines
  @long_headlines
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13966
13967
13968
13969
13970
13971
13972
13973
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13966

def update!(**args)
  @business_logo_creative_ids = args[:business_logo_creative_ids] if args.key?(:business_logo_creative_ids)
  @business_name = args[:business_name] if args.key?(:business_name)
  @call_to_actions = args[:call_to_actions] if args.key?(:call_to_actions)
  @descriptions = args[:descriptions] if args.key?(:descriptions)
  @headlines = args[:headlines] if args.key?(:headlines)
  @long_headlines = args[:long_headlines] if args.key?(:long_headlines)
end