Class: Google::Apis::DfareportingV2_6::ClickTag
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_6::ClickTag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_6/classes.rb,
generated/google/apis/dfareporting_v2_6/representations.rb,
generated/google/apis/dfareporting_v2_6/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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClickTag
Returns a new instance of ClickTag.
1935 1936 1937 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 1935 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
DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when
the primary asset type is not HTML_IMAGE.
Corresponds to the JSON property eventName
1920 1921 1922 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 1920 def event_name @event_name end |
#name ⇒ String
Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative
assets, this field must match the value of the creative asset's
creativeAssetId.name field.
Corresponds to the JSON property name
1927 1928 1929 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 1927 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
1933 1934 1935 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 1933 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1940 1941 1942 1943 1944 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 1940 def update!(**args) @event_name = args[:event_name] if args.key?(:event_name) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |