Class: Google::Apis::DfareportingV2_1::ClickTag
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::ClickTag
- 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
Creative Click Tag.
Instance Attribute Summary collapse
-
#event_name ⇒ String
Advertiser event name associated with the click tag.
-
#name ⇒ String
Parameter name for the specified click tag.
-
#value ⇒ String
Parameter value for the specified click tag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClickTag
constructor
A new instance of ClickTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClickTag
Returns a new instance of ClickTag.
1908 1909 1910 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1908 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_name ⇒ String
Advertiser event name associated with the click tag. This field is used by
ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
Corresponds to the JSON property eventName
1893 1894 1895 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1893 def event_name @event_name end |
#name ⇒ String
Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets,
this field must match the value of the creative asset's creativeAssetId.name
field.
Corresponds to the JSON property name
1900 1901 1902 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1900 def name @name end |
#value ⇒ String
Parameter value for the specified click tag. This field contains a click-
through url.
Corresponds to the JSON property value
1906 1907 1908 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1906 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1913 1914 1915 1916 1917 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1913 def update!(**args) @event_name = args[:event_name] unless args[:event_name].nil? @name = args[:name] unless args[:name].nil? @value = args[:value] unless args[:value].nil? end |