Class: Google::Apis::DfareportingV2_3::RichMediaExitOverride

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_3/classes.rb,
generated/google/apis/dfareporting_v2_3/representations.rb,
generated/google/apis/dfareporting_v2_3/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.



9651
9652
9653
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9651

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)


9638
9639
9640
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9638

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)


9643
9644
9645
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9643

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)


9648
9649
9650
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9648

def use_custom_exit_url
  @use_custom_exit_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9656
9657
9658
9659
9660
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9656

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