Class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::VideoContent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoContent
constructor
A new instance of VideoContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoContent
Returns a new instance of VideoContent
2160 2161 2162 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2160 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
2158 2159 2160 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2158 def video_url @video_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2165 2166 2167 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2165 def update!(**args) @video_url = args[:video_url] if args.key?(:video_url) end |