Class: Google::Apis::DfareportingV3_4::CustomEventClickAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::CustomEventClickAnnotation
- 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
Annotate a click event.
Instance Attribute Summary collapse
-
#gclid ⇒ String
The Google click ID.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomEventClickAnnotation
constructor
A new instance of CustomEventClickAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomEventClickAnnotation
Returns a new instance of CustomEventClickAnnotation.
4711 4712 4713 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4711 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gclid ⇒ String
The Google click ID. Use this field to annotate the click associated with the
gclid.
Corresponds to the JSON property gclid
4703 4704 4705 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4703 def gclid @gclid end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#customEventClickAnnotation".
Corresponds to the JSON property kind
4709 4710 4711 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4709 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4716 4717 4718 4719 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4716 def update!(**args) @gclid = args[:gclid] if args.key?(:gclid) @kind = args[:kind] if args.key?(:kind) end |