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

Constructor Details

#initialize(**args) ⇒ CustomEventClickAnnotation

Returns a new instance of CustomEventClickAnnotation.



4731
4732
4733
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4731

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)


4723
4724
4725
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4723

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)


4729
4730
4731
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4729

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4736
4737
4738
4739
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4736

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