Class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VideoContent

Returns a new instance of VideoContent



2142
2143
2144
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2142

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

Instance Attribute Details

#video_urlString

The URL to fetch a video ad. Corresponds to the JSON property videoUrl

Returns:

  • (String)


2140
2141
2142
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2140

def video_url
  @video_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2147
2148
2149
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2147

def update!(**args)
  @video_url = args[:video_url] if args.key?(:video_url)
end