Class: Google::Apis::DfareportingV4::YoutubeSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::YoutubeSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Contains the YouTube settings.
Instance Attribute Summary collapse
-
#business_logo_creative_ids ⇒ Array<Fixnum>
Optional.
-
#business_name ⇒ String
Optional.
-
#call_to_actions ⇒ Array<String>
Optional.
-
#descriptions ⇒ Array<String>
Optional.
-
#headlines ⇒ Array<String>
Optional.
-
#long_headlines ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeSettings
constructor
A new instance of YoutubeSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeSettings
Returns a new instance of YoutubeSettings.
14828 14829 14830 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14828 def initialize(**args) update!(**args) end |
Instance Attribute Details
#business_logo_creative_ids ⇒ Array<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
14800 14801 14802 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14800 def business_logo_creative_ids @business_logo_creative_ids end |
#business_name ⇒ String
Optional. The business name.
Corresponds to the JSON property businessName
14805 14806 14807 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14805 def business_name @business_name end |
#call_to_actions ⇒ Array<String>
Optional. The call to actions. Currently only one call to action is supported.
Corresponds to the JSON property callToActions
14810 14811 14812 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14810 def call_to_actions @call_to_actions end |
#descriptions ⇒ Array<String>
Optional. The descriptions. Currently only one description is supported.
Corresponds to the JSON property descriptions
14815 14816 14817 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14815 def descriptions @descriptions end |
#headlines ⇒ Array<String>
Optional. The headlines associated with the call to actions. Currently only
one headline is supported.
Corresponds to the JSON property headlines
14821 14822 14823 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14821 def headlines @headlines end |
#long_headlines ⇒ Array<String>
Optional. The long headlines. Currently only one long headline is supported.
Corresponds to the JSON property longHeadlines
14826 14827 14828 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14826 def long_headlines @long_headlines end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14833 14834 14835 14836 14837 14838 14839 14840 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14833 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 |