Class: Google::Apis::DfareportingV4::ThirdPartyTrackingUrl

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.



12319
12320
12321
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12319

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)


12312
12313
12314
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12312

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)


12317
12318
12319
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12317

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12324
12325
12326
12327
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12324

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