Class: Google::Apis::DfareportingV2_5::RichMediaExitOverride
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_5::RichMediaExitOverride
- 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
Rich Media Exit Override.
Instance Attribute Summary collapse
-
#custom_exit_url ⇒ String
Click-through URL to override the default exit URL.
-
#exit_id ⇒ String
ID for the override to refer to a specific exit in the creative.
-
#use_custom_exit_url ⇒ Boolean
(also: #use_custom_exit_url?)
Whether to use the custom exit URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RichMediaExitOverride
constructor
A new instance of RichMediaExitOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RichMediaExitOverride
Returns a new instance of RichMediaExitOverride
10037 10038 10039 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10037 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_exit_url ⇒ String
Click-through URL to override the default exit URL. Applicable if the
useCustomExitUrl field is set to true.
Corresponds to the JSON property customExitUrl
10024 10025 10026 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10024 def custom_exit_url @custom_exit_url end |
#exit_id ⇒ String
ID for the override to refer to a specific exit in the creative.
Corresponds to the JSON property exitId
10029 10030 10031 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10029 def exit_id @exit_id end |
#use_custom_exit_url ⇒ Boolean Also known as: use_custom_exit_url?
Whether to use the custom exit URL.
Corresponds to the JSON property useCustomExitUrl
10034 10035 10036 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10034 def use_custom_exit_url @use_custom_exit_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10042 10043 10044 10045 10046 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10042 def update!(**args) @custom_exit_url = args[:custom_exit_url] if args.key?(:custom_exit_url) @exit_id = args[:exit_id] if args.key?(:exit_id) @use_custom_exit_url = args[:use_custom_exit_url] if args.key?(:use_custom_exit_url) end |