Class: Google::Apis::DfareportingV2_5::CompanionClickThroughOverride

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

Overview

Companion Click-through override.

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) ⇒ CompanionClickThroughOverride

Returns a new instance of CompanionClickThroughOverride



2028
2029
2030
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 2028

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

Instance Attribute Details

#click_through_urlGoogle::Apis::DfareportingV2_5::ClickThroughUrl

Click-through URL Corresponds to the JSON property clickThroughUrl



2021
2022
2023
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 2021

def click_through_url
  @click_through_url
end

#creative_idString

ID of the creative for this companion click-through override. Corresponds to the JSON property creativeId

Returns:

  • (String)


2026
2027
2028
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 2026

def creative_id
  @creative_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2033
2034
2035
2036
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 2033

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