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.



12740
12741
12742
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12740

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)


12733
12734
12735
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12733

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)


12738
12739
12740
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12738

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12745
12746
12747
12748
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12745

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