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.



14137
14138
14139
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14137

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>)


14109
14110
14111
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14109

def business_logo_creative_ids
  @business_logo_creative_ids
end

#business_nameString

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

Returns:

  • (String)


14114
14115
14116
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14114

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>)


14119
14120
14121
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14119

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>)


14124
14125
14126
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14124

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>)


14130
14131
14132
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14130

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>)


14135
14136
14137
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14135

def long_headlines
  @long_headlines
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14142
14143
14144
14145
14146
14147
14148
14149
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14142

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