Class: Google::Apis::DfareportingV4::CompanionClickThroughOverride
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::CompanionClickThroughOverride
- 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
Companion Click-through override.
Instance Attribute Summary collapse
-
#click_through_url ⇒ Google::Apis::DfareportingV4::ClickThroughUrl
Click-through URL Corresponds to the JSON property
clickThroughUrl
. -
#creative_id ⇒ Fixnum
ID of the creative for this companion click-through override.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompanionClickThroughOverride
constructor
A new instance of CompanionClickThroughOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompanionClickThroughOverride
Returns a new instance of CompanionClickThroughOverride.
2513 2514 2515 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2513 def initialize(**args) update!(**args) end |
Instance Attribute Details
#click_through_url ⇒ Google::Apis::DfareportingV4::ClickThroughUrl
Click-through URL
Corresponds to the JSON property clickThroughUrl
2506 2507 2508 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2506 def click_through_url @click_through_url end |
#creative_id ⇒ Fixnum
ID of the creative for this companion click-through override.
Corresponds to the JSON property creativeId
2511 2512 2513 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2511 def creative_id @creative_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2518 2519 2520 2521 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2518 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 |