Class: Google::Apis::DisplayvideoV2::DisplayVideoSourceAd
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::DisplayVideoSourceAd
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
The ad sourced from a DV360 creative.
Instance Attribute Summary collapse
-
#creative_id ⇒ Fixnum
The ID of the source creative.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DisplayVideoSourceAd
constructor
A new instance of DisplayVideoSourceAd.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DisplayVideoSourceAd
Returns a new instance of DisplayVideoSourceAd.
4785 4786 4787 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4785 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_id ⇒ Fixnum
The ID of the source creative.
Corresponds to the JSON property creativeId
4783 4784 4785 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4783 def creative_id @creative_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4790 4791 4792 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4790 def update!(**args) @creative_id = args[:creative_id] if args.key?(:creative_id) end |