Class: Google::Apis::DfareportingV5::ThirdPartyTrackingUrl

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

Overview

Third-party Tracking URL.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ThirdPartyTrackingUrl

Returns a new instance of ThirdPartyTrackingUrl.



13283
13284
13285
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13283

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

Instance Attribute Details

#third_party_url_typeString

Third-party URL type for in-stream video and in-stream audio creatives. Corresponds to the JSON property thirdPartyUrlType

Returns:

  • (String)


13276
13277
13278
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13276

def third_party_url_type
  @third_party_url_type
end

#urlString

URL for the specified third-party URL type. Corresponds to the JSON property url

Returns:

  • (String)


13281
13282
13283
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13281

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13288
13289
13290
13291
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13288

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