Class: Google::Apis::DisplayvideoV1::CreativeConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::CreativeConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
Creative requirements configuration for the inventory source.
Instance Attribute Summary collapse
-
#creative_type ⇒ String
The type of creative that can be assigned to the inventory source.
-
#display_creative_config ⇒ Google::Apis::DisplayvideoV1::InventorySourceDisplayCreativeConfig
The configuration for display creatives.
-
#video_creative_config ⇒ Google::Apis::DisplayvideoV1::InventorySourceVideoCreativeConfig
The configuration for video creatives.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeConfig
constructor
A new instance of CreativeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreativeConfig
Returns a new instance of CreativeConfig.
2988 2989 2990 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2988 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_type ⇒ String
The type of creative that can be assigned to the inventory source.
Corresponds to the JSON property creativeType
2976 2977 2978 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2976 def creative_type @creative_type end |
#display_creative_config ⇒ Google::Apis::DisplayvideoV1::InventorySourceDisplayCreativeConfig
The configuration for display creatives.
Corresponds to the JSON property displayCreativeConfig
2981 2982 2983 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2981 def display_creative_config @display_creative_config end |
#video_creative_config ⇒ Google::Apis::DisplayvideoV1::InventorySourceVideoCreativeConfig
The configuration for video creatives.
Corresponds to the JSON property videoCreativeConfig
2986 2987 2988 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2986 def video_creative_config @video_creative_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2993 2994 2995 2996 2997 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2993 def update!(**args) @creative_type = args[:creative_type] if args.key?(:creative_type) @display_creative_config = args[:display_creative_config] if args.key?(:display_creative_config) @video_creative_config = args[:video_creative_config] if args.key?(:video_creative_config) end |