Class: Google::Apis::DfareportingV3_4::ClickTag
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::ClickTag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb
Overview
Creative Click Tag.
Instance Attribute Summary collapse
-
#click_through_url ⇒ Google::Apis::DfareportingV3_4::CreativeClickThroughUrl
Click-through URL Corresponds to the JSON property
clickThroughUrl
. -
#event_name ⇒ String
Advertiser event name associated with the click tag.
-
#name ⇒ String
Parameter name 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.
Constructor Details
#initialize(**args) ⇒ ClickTag
Returns a new instance of ClickTag.
2063 2064 2065 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2063 def initialize(**args) update!(**args) end |
Instance Attribute Details
#click_through_url ⇒ Google::Apis::DfareportingV3_4::CreativeClickThroughUrl
Click-through URL
Corresponds to the JSON property clickThroughUrl
2047 2048 2049 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2047 def click_through_url @click_through_url end |
#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
2054 2055 2056 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2054 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
2061 2062 2063 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2061 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2068 2069 2070 2071 2072 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2068 def update!(**args) @click_through_url = args[:click_through_url] if args.key?(:click_through_url) @event_name = args[:event_name] if args.key?(:event_name) @name = args[:name] if args.key?(:name) end |