Class: Google::Apis::DfareportingV3_4::CustomEventClickAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::CustomEventClickAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v3_4/classes.rb,
lib/google/apis/dfareporting_v3_4/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ CustomEventClickAnnotation
Returns a new instance of CustomEventClickAnnotation.
4732 4733 4734 |
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 4732 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
4724 4725 4726 |
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 4724 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
4730 4731 4732 |
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 4730 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4737 4738 4739 4740 |
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 4737 def update!(**args) @gclid = args[:gclid] if args.key?(:gclid) @kind = args[:kind] if args.key?(:kind) end |