Class: Google::Apis::DfareportingV4::RichMediaExitOverride

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb

Overview

Rich Media Exit Override.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RichMediaExitOverride

Returns a new instance of RichMediaExitOverride.



11528
11529
11530
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11528

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

Instance Attribute Details

#click_through_urlGoogle::Apis::DfareportingV4::ClickThroughUrl

Click-through URL Corresponds to the JSON property clickThroughUrl



11514
11515
11516
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11514

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)


11520
11521
11522
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11520

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)


11526
11527
11528
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11526

def exit_id
  @exit_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11533
11534
11535
11536
11537
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11533

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