Class: Google::Apis::DfareportingV2_1::RichMediaExitOverride

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

Overview

Rich Media Exit Override.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RichMediaExitOverride

Returns a new instance of RichMediaExitOverride.


9621
9622
9623
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9621

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

Instance Attribute Details

#custom_exit_urlString

Click-through URL to override the default exit URL. Applicable if the useCustomExitUrl field is set to true. Corresponds to the JSON property customExitUrl

Returns:

  • (String)

9608
9609
9610
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9608

def custom_exit_url
  @custom_exit_url
end

#exit_idString

ID for the override to refer to a specific exit in the creative. Corresponds to the JSON property exitId

Returns:

  • (String)

9613
9614
9615
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9613

def exit_id
  @exit_id
end

#use_custom_exit_urlBoolean Also known as: use_custom_exit_url?

Whether to use the custom exit URL. Corresponds to the JSON property useCustomExitUrl

Returns:

  • (Boolean)

9618
9619
9620
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9618

def use_custom_exit_url
  @use_custom_exit_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


9626
9627
9628
9629
9630
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9626

def update!(**args)
  @custom_exit_url = args[:custom_exit_url] unless args[:custom_exit_url].nil?
  @exit_id = args[:exit_id] unless args[:exit_id].nil?
  @use_custom_exit_url = args[:use_custom_exit_url] unless args[:use_custom_exit_url].nil?
end