Class: Google::Apis::DfareportingV3_4::CustomEventClickAnnotation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomEventClickAnnotation

Returns a new instance of CustomEventClickAnnotation.



4752
4753
4754
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4752

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gclidString

The Google click ID. Use this field to annotate the click associated with the gclid. Corresponds to the JSON property gclid

Returns:

  • (String)


4744
4745
4746
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4744

def gclid
  @gclid
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#customEventClickAnnotation". Corresponds to the JSON property kind

Returns:

  • (String)


4750
4751
4752
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4750

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4757
4758
4759
4760
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4757

def update!(**args)
  @gclid = args[:gclid] if args.key?(:gclid)
  @kind = args[:kind] if args.key?(:kind)
end