Class: Google::Apis::DfareportingV4::RichMediaExitOverride
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::RichMediaExitOverride
- 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
Rich Media Exit Override.
Instance Attribute Summary collapse
-
#click_through_url ⇒ Google::Apis::DfareportingV4::ClickThroughUrl
Click-through URL Corresponds to the JSON property
clickThroughUrl
. -
#enabled ⇒ Boolean
(also: #enabled?)
Whether to use the clickThroughUrl.
-
#exit_id ⇒ Fixnum
ID for the override to refer to a specific exit in the creative.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RichMediaExitOverride
constructor
A new instance of RichMediaExitOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RichMediaExitOverride
Returns a new instance of RichMediaExitOverride.
11325 11326 11327 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11325 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
11311 11312 11313 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11311 def click_through_url @click_through_url end |
#enabled ⇒ Boolean Also known as: enabled?
Whether to use the clickThroughUrl. If false, the creative-level exit will be
used.
Corresponds to the JSON property enabled
11317 11318 11319 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11317 def enabled @enabled end |
#exit_id ⇒ Fixnum
ID for the override to refer to a specific exit in the creative.
Corresponds to the JSON property exitId
11323 11324 11325 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11323 def exit_id @exit_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11330 11331 11332 11333 11334 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11330 def update!(**args) @click_through_url = args[:click_through_url] if args.key?(:click_through_url) @enabled = args[:enabled] if args.key?(:enabled) @exit_id = args[:exit_id] if args.key?(:exit_id) end |