Class: Google::Apis::DisplayvideoV2::ThirdPartyUrl
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::ThirdPartyUrl
- 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
Tracking URLs from third parties to track interactions with an audio or a video creative.
Instance Attribute Summary collapse
-
#type ⇒ String
The type of interaction needs to be tracked by the tracking URL Corresponds to the JSON property
type. -
#url ⇒ String
Tracking URL used to track the interaction.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ThirdPartyUrl
constructor
A new instance of ThirdPartyUrl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ThirdPartyUrl
Returns a new instance of ThirdPartyUrl.
11291 11292 11293 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11291 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
The type of interaction needs to be tracked by the tracking URL
Corresponds to the JSON property type
11282 11283 11284 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11282 def type @type end |
#url ⇒ String
Tracking URL used to track the interaction. Provide a URL with optional path
or query string, beginning with https:. For example, https://www.example.com/
path
Corresponds to the JSON property url
11289 11290 11291 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11289 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11296 11297 11298 11299 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11296 def update!(**args) @type = args[:type] if args.key?(:type) @url = args[:url] if args.key?(:url) end |