Class: Google::Apis::DisplayvideoV3::CreativeConfig

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

Overview

Creative requirements configuration for the inventory source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreativeConfig

Returns a new instance of CreativeConfig.



4580
4581
4582
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4580

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

Instance Attribute Details

#creative_typeString

The type of creative that can be assigned to the inventory source. Only the following types are supported: * CREATIVE_TYPE_STANDARD * CREATIVE_TYPE_VIDEO Corresponds to the JSON property creativeType

Returns:

  • (String)


4568
4569
4570
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4568

def creative_type
  @creative_type
end

#display_creative_configGoogle::Apis::DisplayvideoV3::InventorySourceDisplayCreativeConfig

The configuration for display creatives. Corresponds to the JSON property displayCreativeConfig



4573
4574
4575
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4573

def display_creative_config
  @display_creative_config
end

#video_creative_configGoogle::Apis::DisplayvideoV3::InventorySourceVideoCreativeConfig

The configuration for video creatives. Corresponds to the JSON property videoCreativeConfig



4578
4579
4580
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4578

def video_creative_config
  @video_creative_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4585
4586
4587
4588
4589
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4585

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