Class: Google::Apis::DisplayvideoV2::AdUrl
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::AdUrl
- 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
Additional URLs related to the ad, including beacons.
Instance Attribute Summary collapse
-
#type ⇒ String
The type of the Ad URL.
-
#url ⇒ String
The URL string value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdUrl
constructor
A new instance of AdUrl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdUrl
Returns a new instance of AdUrl.
103 104 105 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
The type of the Ad URL.
Corresponds to the JSON property type
96 97 98 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 96 def type @type end |
#url ⇒ String
The URL string value.
Corresponds to the JSON property url
101 102 103 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 101 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
108 109 110 111 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 108 def update!(**args) @type = args[:type] if args.key?(:type) @url = args[:url] if args.key?(:url) end |