Class: Google::Apis::DfareportingV5::YoutubeSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::YoutubeSettings
- 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
-
#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.
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_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
13933 13934 13935 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13933 def business_logo_creative_ids @business_logo_creative_ids end |
#business_name ⇒ String
Optional. The business name.
Corresponds to the JSON property businessName
13938 13939 13940 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13938 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
13943 13944 13945 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13943 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
13948 13949 13950 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13948 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
13954 13955 13956 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13954 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
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 |