Class: Google::Apis::DisplayvideoV1::ThirdPartyUrl

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb

Overview

Tracking URLs from third parties to track interactions with an audio or a video 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) ⇒ ThirdPartyUrl

Returns a new instance of ThirdPartyUrl.



6956
6957
6958
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6956

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

Instance Attribute Details

#typeString

The type of interaction needs to be tracked by the tracking URL Corresponds to the JSON property type

Returns:

  • (String)


6947
6948
6949
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6947

def type
  @type
end

#urlString

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

Returns:

  • (String)


6954
6955
6956
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6954

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6961
6962
6963
6964
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6961

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