Class: Google::Apis::DfareportingV2_1::CompanionClickThroughOverride

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

Companion Click-through override.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CompanionClickThroughOverride

Returns a new instance of CompanionClickThroughOverride



1996
1997
1998
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1996

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

Instance Attribute Details

#click_through_urlGoogle::Apis::DfareportingV2_1::ClickThroughUrl

Click-through URL Corresponds to the JSON property clickThroughUrl



1989
1990
1991
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1989

def click_through_url
  @click_through_url
end

#creative_idString

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

Returns:

  • (String)


1994
1995
1996
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1994

def creative_id
  @creative_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2001
2002
2003
2004
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 2001

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