Class: Google::Apis::DfareportingV3_2::RichMediaExitOverride

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



10696
10697
10698
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10696

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

Instance Attribute Details

#click_through_urlGoogle::Apis::DfareportingV3_2::ClickThroughUrl

Click-through URL Corresponds to the JSON property clickThroughUrl



10682
10683
10684
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10682

def click_through_url
  @click_through_url
end

#enabledBoolean Also known as: enabled?

Whether to use the clickThroughUrl. If false, the creative-level exit will be used. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


10688
10689
10690
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10688

def enabled
  @enabled
end

#exit_idFixnum

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

Returns:

  • (Fixnum)


10694
10695
10696
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10694

def exit_id
  @exit_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10701
10702
10703
10704
10705
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10701

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