Class: Google::Apis::DfareportingV3_5::CompanionClickThroughOverride

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

Overview

Companion Click-through override.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompanionClickThroughOverride

Returns a new instance of CompanionClickThroughOverride.



2100
2101
2102
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2100

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

Instance Attribute Details

#click_through_urlGoogle::Apis::DfareportingV3_5::ClickThroughUrl

Click-through URL Corresponds to the JSON property clickThroughUrl



2093
2094
2095
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2093

def click_through_url
  @click_through_url
end

#creative_idFixnum

ID of the creative for this companion click-through override. Corresponds to the JSON property creativeId

Returns:

  • (Fixnum)


2098
2099
2100
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2098

def creative_id
  @creative_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2105
2106
2107
2108
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2105

def update!(**args)
  @click_through_url = args[:click_through_url] if args.key?(:click_through_url)
  @creative_id = args[:creative_id] if args.key?(:creative_id)
end