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.



12553
12554
12555
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12553

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)


12546
12547
12548
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12546

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)


12551
12552
12553
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12551

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12558
12559
12560
12561
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12558

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