Class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::VideoContent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Video content for a creative.
Instance Attribute Summary collapse
-
#video_url ⇒ String
The URL to fetch a video ad.
-
#video_vast_xml ⇒ String
The contents of a VAST document for a video ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoContent
constructor
A new instance of VideoContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoContent
Returns a new instance of VideoContent.
4112 4113 4114 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#video_url ⇒ String
The URL to fetch a video ad.
Corresponds to the JSON property videoUrl
4104 4105 4106 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4104 def video_url @video_url end |
#video_vast_xml ⇒ String
The contents of a VAST document for a video ad. This document should conform
to the VAST 2.0 or 3.0 standard.
Corresponds to the JSON property videoVastXml
4110 4111 4112 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4110 def video_vast_xml @video_vast_xml end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4117 4118 4119 4120 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4117 def update!(**args) @video_url = args[:video_url] if args.key?(:video_url) @video_vast_xml = args[:video_vast_xml] if args.key?(:video_vast_xml) end |