Class: Google::Apis::DfareportingV2_5::RichMediaExitOverride

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

Rich Media Exit 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) ⇒ 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_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)


10024
10025
10026
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10024

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)


10029
10030
10031
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10029

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)


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